No. Has no meaning.
SEO Tools:http://www.htmlgoodies.com/beyond/webmas… (Search Engine Optimization (SEO): Getting Started)http://seo.alleycode.com/freetools.htmhttp://www.websiteoptimization.com/servi…
Redirects and SEO: http://www.allthingssem.com/redirects-an…
Meta Tag Generators:http://www.ssmedia.com/utilities/meta/http://www.1stsitefree.com/meta_gen.htm
So, You Want A Meta Command, Huh?: http://www.htmlgoodies.com/tutorials/get…
Ron
February 27, 2010
Is Relative Link To The Index Page Of Subsection (href=”.”) Ok In Terms Of Seo, Robots And Stuff?
1 Comment »
RSS feed for comments on this post. TrackBack URL
Folder Relative links:
You should always avoid using folder relative links (i.e. links where the HREF attribute starts with a relative “.” or “..” indicator like href=”./subfolder/file.html” or href=”../../upandover/file.html”. Using them can lead to issues.
For example, if you have a page at /somefolder/page.html that references an image at /images/myimage.jpg using a relative path like “../images/myimage.jpg and you decide to move that page.html to /somefolder/subfolder/page.html the image will get a broken link because it will now be looking for /somefolder/images/page.html and it doesn’t exist.
Sometimes folder relative paths that start with “.” and “..” can get browsers and spiders confused and they’ll start looking in the wrong folders for items resulting in 404 errors.
The advantages of folder relative paths is that you can move the entire web to another domain and it will work without changing any links. But how often do you do that? By making it easy to copy your site to another domain you also make it easy for someone to scrape a copy of your site and throw it up under a different domain name. NOT GOOD!
Absolute links:
You should use always try to use fully qualified, absolute URLs in your code if at all possible like href=”http://www.example.com/somefolder/… This makes it harder for people to scrape the content off of your site and put it on theirs. And makes it easy for you to move a page on your site to another folder and still have all of the references to images and other pages on the site work because they point to EXACTLY where the object “lives” on the server with no assumptions about where it’s being referenced from.
Root Relative links:
If you refuse to use fully qualified, absolute URLs then at LEAST use “Root relative” links… relative links that start with “/” and give the complete path to the object all the way from the root like href-”/somefolder/page.html”.
While this does DOES still make it easy for someone to scrape your site, at LEAST you get the benefit of being able to move a page to another folder and still have all of the references/links still work.
Comment by ✞☠ Ron ☠✞ — February 27, 2010 @ 12:54 pm