Saturday 24 September 2011

How to change my google listing to have the www. infront of it?

Google webmaster tools can help you control this

http://www.google.com/webmasters/tools/
How to change my google listing to have the www. infront of it?
Assuming Google is linking to http://example.com and you want it to link to http://www.example.com/ - configure your webserver to redirect (with a 301 status code) from http://example.com/ to http://www.example.com/



The following should work for Apache:



RewriteEngine On

RewriteCond %{HTTP_HOST} ^example\.com$ [NC]

RewriteRule ^(.*)$ http://www.example.com/$1 [R=301,L]
How to change my google listing to have the www. infront of it?
I had the same problem with yahoo twice already. When I tried to go to the real site, the address button would link me to the fake one automatically over and over again. The fake one was so poorly done as well that anyone with a brain could tell it was a fake. So I deleted my cookies and did a virus scan. I had a virus. Once I took care of the virus I was able to go to the real site. Someone had used temporary cookies as a backdoor onto my computer.
Google Webmaster Tools

Settings

Preferred Domain