Absolute Versus Relative Linking in Web Sites


posted: 25-02-06
author: Bill Hartzer
website: http://www.marketnet.com/
views: 5012
comments: 0
total pages: 1
jump to comments



Check This Amazing Traffic Generating Widgetsl 4 Webmasters!

Absolute Versus Relative Linking in Web Sites

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 web site, it's important to use an absolute link (which means that when you link to another page on your web site 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 web site. I would hate for your web site 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 absolutely 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 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 web site 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.

About The Author

Bill Hartzer manages the Search Engine Marketing division of MarketNet, Inc., a leading full-service interactive design and development firm in Dallas, Texas. Hartzer recently joined MarketNet, where his vast experience significantly bolsters MarketNet's already robust search engine marketing offerings. Hartzer is a successful writer and search SEO


Amazing Webmaster Widgets




Comments

sorry no comments were found, you could be the first to leave a comment !



- Press here to view all available smilies!



Latest News

Amazing Webmaster Tool

If you run a MySpace or teens related site with visitors interested in GLITTERS you will need this great tool: Webmaster Glitter Tool It will generate backlinks at an amazing pace!

 

Useful Click To Clipboard Script

This is a nice little copy to clipboard script. You can find it here!

 

Google Pages

Create pages on google quick and easy with Google Pages!

 

My Funny Pictures Site

Have fun on this funny pictutures site i made, i hope youll enjoy it :) PixHumor

 

IS YOUR CHILD SAFE???

With this great program you can make sure your child will be a lot safer while browsing the Internet.

 

New Site

I created a fun site for MSN Messenger Stuff called MSN Freak. You can find the site here: Free Winks @ MSN Freak

 

Useful free unlocker tool

This tool is a very useful tool that runs in the background. Whenever you try to for example copy a folder and explorer sceams at you it wont do that, the barrier is lifted and you can continue to do what you wanted too. Download it here.

 

GOOGLE worldwide: Languages and countries

Useful page showing all the Google Search Engines of all countries. Check it out here.

 

Google Trends

Google trends enables us to see where people want certain things the most. You can enter a keyword and find out where people search for that most often! Check Google Trends

 

Google PageRank Checker

I personally enjoy this Google pagerank checker a lot: Google PageRank Checker

 

New tutorials

I added a new basic Flash tutorial showing how to create a simple motion tween. You can find it here: Basic Flash Motion Tween

 

2 new Flash tutorials

I added 2 new Flash tutorials to the tutorial selection. On deals with the if else conditional statement and the other deals with setting up a bit of color with actionscript. You can checkout the tutorials here: Actionscript and colors and If Else Conditionals.

 

Oh My!

Its mad times overhere, im helping promote and have created a few sites which has taken quite some time from me. site1: http://www.flashgamefreak.com, site2 http://www.freewinks.net, site3 http://www.smilieworx.com and more are to come this and next week. This has taken its toll on my time to write tutorials. I will make up for that as soon as possible. Thanks for your understanding.

 

Basic Flash Tutorials

I added 3 new basic Flash tutorials to the tutorial list. Dealing with layers, What are functions and one about The Registration Point.

 

A bit of a delay

I have had a very crazy time around here the last month, because of this some tutorials have not been written yet. This is a list of tutorial i still need to write and you can expect them in the very near future.

 

Advertise on FWR

If you want to advertise here then please contact me here. We can make a nice deal and you can get stats on them how often you would like.

 

2 new tutorials

2 new web design related tutorials were added ... more Flash tutorials are on their way but its a bit mad around here these last days ;)

 

View All News



In Focus

Do you shop at Home Depot?
Moving any time soon? Home Depot has the supplies that you need for any move or any other occasion.
Save money on your Auto Insurance!
You could be paying too much for your auto insurance, find out here if you qualify for HUGE savings!
Make cash with Penny Stocks!
Make cash with Penny Stocks!
Free Auto Insurance Quotes!
Saving money with InsureMyCar4Less is simple. After you fill out our quick online form, you get free auto insurance quotes from the best providers in the industry. They compete for your business, and you save money.
Get free Auto Insurance Quotes!
Saving money with InsureMyCar4Less is simple. After you fill out our quick online form, you get free auto insurance quotes from the best providers in the industry. They compete for your business, and you save money.
Play Swat 2 Now
Play the swat 2 game and shoot those bad guys!
Play World War 2 Commando Free!
Play World War 2 Commando online for free!
Play Bubble Boomers
Pop the bubbles of the like colors for this very fun and addictive game for FREE!!!
Play Airstrike 1941 online for free!
Play Airstrike 1941 online for free!
Customize your Facebook with a theme
Customize the colors and music on your facebook profile page today!
Play Aztec Quest online for free!
Play Aztec Quest online for free!
Want Home Depot September Deals?
Get some great September deals at Home Depot today!
Play Frogger Now!
Play frogger with 1 click download of gamevance!
Get a Free Auto Insurance Quote
Free quotes from top insurance carriers!
Do you shop at Home Depot?
Get a ton of Home Depot coupons and gift card offers! Also if your looking to improve you home this is the place to be!
Play Pac Man right here!
Get all the hottest new games and all the old school games in one place!
Play the old school Baseball Stars
Get all the hottest new games and all the old school games in one place!
Print Coupons from Home!
Print Grocery Coupons from your house! Instant Savings!
Save up to 70% on auto insurance!
Do you qualify for 60-70% off your auto insurance rates? Find out right now! Request quotes 24 hours a day with our secure online form. It's super fast and easy. See what your rate is absolutely free!
Play Streetfighter Now!!!
Get all the hottest new games and all the old school games in one place!
Share your Opinion, win $50,000?
Share your Opinion, win $50,000? Couldn't get any easier! It's free and fun!
Need New Contact Lenses for FREE?
Treat your eyes to all day comfort with a free trial and save up to $100!
Stop identity theft in its tracks!
Protect My ID makes it easy for you!
Test Hunting Gear and Keep It!
We're looking for a few good product testers for our Hunting Gear!
Save Money on Airline Fares Here!
Save up to 50% off on major airline brands here!
Get a FREE Apple iPad Now!!!
You know you want your FREE Apple iPad right here!
Do you like to go Fishing?
We're looking for a few good product testers to test our Fishing gear. Keep it afterwards!

Cool Stuff