• About
    • History of Dallas SEO
    • SEO Expert Witness Services
  • Contact
  • Topics
    • Bing
    • Blogging
    • Branding
    • Domain Names
    • Google
    • Internet Marketing
    • Link Building
    • Local Search
    • Marketing
    • Public Relations
    • Reputation Management
    • Search Engine Marketing
    • Search Engine Optimization
    • Search Engines
    • Social Media
    • Tech
  • Advertise
  • Email Newsletter

Bill Hartzer

Bill Hartzer on Search, Marketing, Tech, and Domains.

Home » Absolute Versus Relative Linking in Websites

Absolute Versus Relative Linking in Websites

What is an absolute link? What is a relative link? Why should you care which one you use? When it comes to how you set up the links on your website, it’s important to use an absolute link (which means that when you link to another page on your website you specify the complete URL in the link like http://www.yourdomain.com/page1.html).

A relative link is when you have an internal link and you only specify the page URL and not the full URL in the link (for example, a relative link would be when you only link to page1.html). I’ll tell you my search engine ranking horror story and exactly why you should use absolute linking on your website. I would hate for your website to suddenly lose all its search engine rankings just as I did one day–it’s not fun.

Always use absolute links whenever you can. If you use relative links you can suddenly lose all of your rankings in the search engines–it has happened to me and was a nightmare for a few weeks until I got it all straightened out. All of a sudden one of my prized domain names stopped ranking in Google. I couldn’t figure it out. Great rankings for several years and bad rankings all of a sudden. I finally searched for the domain name in Google and found that they had indexed the entire site without the www subdomain.

I then found that there were a few links to the non-www version of the site. I figured out that because there were links to mydomain.com and because I was using relative links the search engine were allowed to spider the site thinking it was mydomain.com and not www.mydomain.com. Suddenly Google chose mydomain.com and threw out www.mydomain.com–thus my bad rankings. I fixed all of the relative linking on the site and made sure all the internal links went to www.mydomain.com/page.html and not page.html. After about two to three weeks I finally got back my search engine rankings back. As a result, I will never use relative linking again.

There’s not actually any search engine rankings boost per se when you use absolute versus relative links. However, when you use absolute links you make sure the search engines know which “version” of your site to index.

You see, if someone links to your site using domain.com rather than www.domain.com, the search engine will follow the link and start crawling. If you use absolute links then the search engine will crawl your site and only see the pages as www.domain.com/page.html. If you use relative links the search engine could crawl your site as domain.com/page.html, which is probably not what you want.

Most of your links from other sites will be linking to www.domain.com, not domain.com. If the search engine decides–for whatever reason–that they index your site with domain.com and not www.domain.com, then you could suddenly lose all of your search engine rankings because the non-www version of your site is indexed and the www version is not and you don’t have many links to the non-www version of your site.

It’s always good to be consistent in your internal linking, and it’s good to make sure that all of your internal links specify exactly the domain name of your site so there’s no question of which pages to index. There are other reasons, as well.

What happens if you use relative links in your site? What happens if someone decides to download an entire copy of your website and put it up on their domain (trust me, it’s happened to me!)? If you use relative links, it would be easy to copy your website and put it up on another domain. If you use absolute links then it’s much more difficult–the domain name has to be removed or changed on all the pages of your site. There are people out there who try to copy websites all the time–and making it much more of a chore for them to copy and change decreases your chances of the site being copied. Or, if they do copy even one page of your site and put it up on their domain name then they might not realize that your full URLs are specified–checking your web stats might reveal the fact that they copied your page’s content–it’s happened to me and I was able to catch the culprit because of my own absolute linking.

I realize that in certain web development environments and the way web designers work on websites it’s very difficult to use absolute links. For example, many web developers and designers set up a test area when they’re working on a new website or a new revision of a site. As a result, they must use relative links because the site ‘wouldn’t work’ because it’s temporarily in another location. Some developers and designers use clientname.theirdomain.com to test the website. In this case, when the site goes live the links should be changed to absolute links.

In some cases, it’s difficult to set up absolute links. But, because of the potential problems and rankings issues with using relative linking, I’m not recommending that anyone use relative linking. I’ve had major problems in the past with search engine rankings because of relative linking–and I would hate for you to have to suffer these rankings problems.

Let’s Talk About Your Needs

Website Marketing, Search Engine Optimization, Social Media Marketing, and Online Reputation Management can be confusing. Talk to someone who has over 10 years of website marketing experience who can steer you in the right direction, not just someone who is going to try to “sell you” search engine marketing or website marketing services.

I will be happy to provide you with no obligation price quote for Website Marketing, Search Engine Optimization, Pay Per Click Management, Social Media Marketing services, or Online Reputation Management services.

[contact-form 1 “Contact form 1”]


Recent Posts

  • IP.com Launches Innovative Online Storefront October 2, 2023
  • Padma Lakshmi to Host 5th Annual .ORG Impact Awards October 2, 2023
  • Atly Unveils ‘Ask Around’ Tool, Empowering Influencers to Gather and Share Recommendations from Followers September 29, 2023
  • RedKangaroo Launches World’s First “Organic Growth” Marketing Platform Leveraging Social Media September 29, 2023
  • SmarTek21’s IntelliTek SearchAI September 29, 2023
  • ICANN Marks 25 Years September 28, 2023
  • AI Content Generation Market Projected to Reach $5.958 Billion by 2029 September 6, 2023
  • Indigo Ransomware Attack Impacted SEO, Led to Lost Revenue August 14, 2023
  • Internet Corporation Listing Service Invoice – Fake Invoice Scam August 8, 2023
  • Someone Stole My Domain Name: Here’s What You Do August 8, 2023
  • Pulsr: First AI Search Engine for NFTs Launches July 27, 2023
  • 2023 TechBehemoths Survey: SEO is Most Effective Method for Lead Gen July 13, 2023
  • Meta Launches Threads, Twitter Sends Cease and Desist Letter July 6, 2023
  • Squarespace Acquires Google Domains June 15, 2023
  • How to Submit Spammy, Deceptive, and Low Quality Web Pages to Google June 14, 2023
  • New HIPAA-Compliant Google & Facebook Campaign Tracking Available June 13, 2023
  • Google Search Engine Class Action Settlement: Google Referrer Header Privacy Litigation June 5, 2023
  • I Asked Twitter for SEO Advice. Here’s What They Said June 1, 2023
  • Web.com Launches AI Domain Name Generator and AI Writer Tools May 31, 2023
  • Artlist Launches AI-Powered Footage Search Engine May 30, 2023

Hartzer Domains

US Agency Awards Judge

DFWSEM logo

Bill Hartzer is a Brand Ambassador for:



Industry Friends

I Love SEO
WTFSEO
SEO By the Sea
Jeff Lenney
Jeff Gabriel
Scott Hendison
Dixon Jones
Brian Hartzer
Navah Hopkins
DNAccess
SEO Dallas

Connect With Bill Hartzer

Bill Hartzer on Twitter
Bill Hartzer on Instagram
Hartzer Consulting on Facebook
Bill Hartzer on Facebook
Bill Hartzer on YouTube

Categories

  • Advertising (19)
  • AI (2)
  • Bing Search Engine (6)
  • Blogging (42)
  • Branding (13)
  • Domain Names (216)
  • Google (241)
  • Internet Marketing (27)
  • Internet Usage (85)
  • Link Building (53)
  • Local Search (39)
  • Marketing (183)
  • Marketing Foo (30)
  • Pay Per Click (3)
  • Podcast (18)
  • Public Relations (8)
  • Reputation Management (9)
  • Search Engine Marketing (44)
  • Search Engine Marketing Events (48)
  • Search Engine Marketing Firms (19)
  • Search Engine Marketing Jobs (33)
  • Search Engine Optimization (166)
  • Search Engines (208)
  • Social Media (197)
  • Tech (7)
  • Web Analytics (17)
  • Webinars (1)

Note: All product names, logos, and brands are property of their respective owners. All company, product and service names used in this website are for identification purposes only, and are mentioned only to help my readers. All other trademarks cited herein are the property of their respective owners. Use of these names, logos, and brands does not imply endorsement.




Hartzer Consulting



Website, Content, and Marketing by Hartzer Consulting, LLC.

Copyright © 2023 ·