Okay if you have set up your domain to resolve to www.mydomain.com/ and you make backlinks to www.mydomain.com(without slash) - the backlinks are useless right? Or is goog1e adding the backslash?? Thanks B
Hi - I am not to familiar with .htaccess Can someone tell me if the code is rewritting by adding a slash at the end of the domain: 1) RewriteRule ^(.*)$ http://www.mydomain.com/$1 [R=301,L] 2)RewriteRule ^index\.html$ http://www.mydomains.com/ [R=301,L] Are the above rules adding a slash to the end? Also if backlinks are going to the non-slash version then they are a waste? Thanks
Google has gotten a lot better at resolving canonical issues over the past few years. Especially the one you mentioned. You can use the .htaccess to redirect everything (index.html, etc.) just to be safe. What you need to do is pick what you want to be your "root" then make sure all your internal links point to the root and your .htaccess redirects all the other variations to your root. Do some research on canonical problems with a website for more information. Here's a link to Matt Cutt's advice on the issue: http://www.mattcutts.com/blog/seo-advice-url-canonicalization/
Most web servers will enforce the trailing slash on the root domain, so links to either .com or .com/ doesn't matter. Folders are more of a concern, because many servers don't enforce the trailing slash for folders so /folder and /folder/ are different URL's, example: http://www.google.com/intl/en/ads/ and http://www.google.com/intl/en/ads
Okay but if I set up my htaccess to have the slash but all the backlinks do not contain the slash then are they a waste? Thanks