Support » Fixing WordPress » Google erroneously indexing with wrong URL

  • Hello everyone,

    This is really strange.

    I have my blogs in subdirectories in this form

    http://www.domain.com/name

    So posts look like:http://www.domain.com/name/article_url

    Where “name” is the name of the blog.

    It is not in /blog.

    However, Google is erroneously indexing the blog in the format: http://www.domain.com/blog/article_url

    I.e. it is replacing “name” with “blog”.

    I have checked the permalink settings and the .htaccess settings and confirmed they are all correct.

    Now here is the confirmation that it is Google. The same blogs in both Yahoo and MSN are indexed correctly.

    Any idea why Google is behaving like this and what can I do to fix it?

    Thank you very much.

Viewing 5 replies - 1 through 5 (of 5 total)
  • do you have a link ?

    google will not index something that it’s not here …

    maybe u submited a wrong sitemap ?

    or there is a link somewhere to tell google to follow the wrong url …

    You should check the cache date of the google index, if you had the blog up and it was named domin.com/blog/hello.php and that is what google spidered, then that’s what it will keep in its cache untill it re-index’s you.

    If thats not the case, a simple way is to re-write your .htaccess with, or check that this line exists:

    Options +FollowSymlinks
    RewriteEngine on
    RewriteRule ^\~blogname\/(.*) http://www.domain.com/$1 [QSA,L,R=301]

    PS msn indexes and update far more often than the google overlords – hence why thier cache is a bit fresher

    Thread Starter apc01

    (@apc01)

    Thanks very much; I will take a look at that.

    This is a relatively new domain and blog however and has never been in a different directory. It as is Google has seen it as WordPress and decided it belongs in /blog. There is simply no other explanation for it.

    The fact that both Yahoo and MSN have indxed it correctly does indicate a Google issue.

    Thread Starter apc01

    (@apc01)

    Thanks very much; I will take a look at that.

    This is a relatively new domain and blog however and the blog has never been in a different directory. It as if Google has seen it as WordPress and decided it belongs in /blog. There is simply no other explanation for it.

    The fact that both Yahoo and MSN have indexed it correctly does indicate a Google issue.

    >> It as if Google has seen it as WordPress and decided it belongs in /blog. There is simply no other explanation for it.

    They don’t really work that way..
    As its a new domain, just have some patience – google knows your there and will come back soon and fix what they have cached 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Google erroneously indexing with wrong URL’ is closed to new replies.