Hi, Real simple question, I think? What is the best way to link to your index page from internal pages? Should you link <home> to http://www.domain.com/, http://www.domain.com, index.htm? Just a question that has worried me for a while, but I've never taken time to ask. thanks in advance
Always link to the absolute so domain.com and not .com/index, also make sure that the non www. is 301'd to the www. as that is considered a different url as well. Also any page you want to pass pr to link to it through an absolute url and any page you want little or no pr being passed to like contact us or policies link to it through a relevant url /page.html.
Yeah..i always use the whole domain. It will avoid googel indexing your .index as well. You dont want your visitors seeing domain/index.htm and certainly dont want anyone linking to it.
link to your domain directly not to index.html to increase your domain value. and if you want to change your site to script having index.php ,where will your index.html go? you lost it.
You haven't heard it, because it's nonsense. My site has mostly relative links of the ../directory/pagename.html type and it works fine.
I always link to www.mydomain.com. However I have another question - is there any difference in linking to www.domain.com and www.domain.com/ (with a slash in the end of it)? Thanks
For a folder if the / is not there, it will be 301 to the url with the trailling /, so you should always link to www .blabla.xyz/folder/. For the domain I never saw it being 301 to www .blabla.xyz/ in my logs... but the adress bar will switch to the / version automatic... I still link to the non-trailling / version for my domain.
A very good point here. Linking directly to the domain alone without the index.html or index.php is better for future changes if they ever come in the life of the website.
Its not nonsense test it, give it a couple weeks to a month then look at the urls with page rank in your webmaster console, or wait for the next pr update. If you have other sites linking to these pages it is hard to test, as those links will be passing pr too. I could careless about pr anymore it is all bout frequent cache dates, but this is a very old trick since the dawn of PR.