| Does Google see your website as two seperate sites? |
| Friday, 27 June 2008 18:30 | ||||||
|
Or any other search engine for that matter. http://yourwebsite.com and http://www.yourwebsite.com may actually be treated as two different websites. Test them in your web browser (obviously substituting yourwebsite for your own site name). Do both show up? If they do then you may have a problem, but fortunately one that is easy to fix. RewriteEngine On Therefore the code for this site is: RewriteEngine On This sets up up a 301 redirect (an instruction that the page has moved). Once the changes to .htaccess are saved, any requests for yourwebsite.com will automatically be forwarded to www.yourwebsite.com. Test it for yourself - www. should appear before yourwebsite.com in the browser's address bar. You can also confirm the redirect is working with the redirect checker at webconfs.com. If things are woking as they should you'll see something like this: ![]()
Bookmark
Email This
Hits: 989 Trackback(0)
Comments
(1)
This content has been locked. You can no longer post any comment.
|





