Forum Moderators: Robert Charlton & goodroi
When I try to verify the website on google, I can verify http://www. name.example-online.com/foo but not www.example.com even though they both point to the same page, the same goes for sitemaps. I think I need to do something with URL rewrite maybe? Any suggestions?
[edited by: tedster at 12:29 pm (utc) on May 4, 2007]
[edit reason] make addresses anonymous [/edit]
The problem is most likely the server configuration -- exactly how the "pointing" is being accomplished. But more than that, it is not a good idea to have two urls both in the Google index for the same content - and especially not to have all the content of two domain names be identical. A rewrite or redirect will change the original url, so it does not verify. Your need to serve the content for your somain directly, with no address change intervening.
Unfortunately, the simple domain that you are having trouble trying to verify (www.example.com) is the probably the one you most want to use. You need a technical situation where that content at www.example.com resolves directly, without any change of the url in the location bar.
How you accomplish pointing to this content will depend on the kind of server in use - and we have a dedicated forum here for discussion about each of the two common servers: Microsoft IIS [webmasterworld.com] and Apache [webmasterworld.com]