: One is not better then the other. What matters is consistency. Choose one and stick with it for all of your URLs. A good thing to do is specify which one you want Google to use in your
One is not better then the other. What matters is consistency. Choose one and stick with it for all of your URLs.
A good thing to do is specify which one you want Google to use in your Google Webmasters Tools account. Also, doing a 301 redirect from the one you do not use to the other isn't a bad idea. Or, alternatively, you can use canonical URLs to specify your preferred domain but a 301 redirect is probably better since forces consistency upon your users. If you use Apache this code makes it simple:
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^yoursite.com [NC]
RewriteRule ^(.*)$ www.yoursite.com/ [L,R=301]
More posts by @Pope3001725
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.