Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and the Yahoo Answers website is now in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

Drupal content being shown by google incorrectly?

I've got a website with a Drupal 6 installation and some content arranged in the form of books.

However, when I look at google analytics and search the keywords that tracked into my site, I see something like example.com/book/export/html/12 instead of example.com/content/ContentName (the clean URL in question, ie instead of /node/#####).

It appears to be /book (content type) /export (??) /html /12 (book 1, page 2) as I can also go to /book/export/10, /11, etc.

When you follow the link from Google none of the other things like sidebars, login, logo, etc are displaying, only the content which would be embedded in the normal node.

Any suggestions?

Update:

This has nothing to do with the Global Redirect module in the way you're describing. I'm not going to /node/###, I'm going to (my clean URL). The problem is when Google comes along they get yet another URL, the /export/* directory. I suppose I could redirect /export/* to my homepage or something, but I don't want to kill SEO

1 Answer

Relevance
  • 1 decade ago
    Favorite Answer

    please GlobalRedirect module, which help you to redirect a url that has a alias to its alias.

    such as, if you specify the node/12 as content/the-title-of-content

    when user go to node/12, then the user will be redirected to content/the-title-of-content

    also, you need to disallow the node url on robots.txt for Google spider, so google won't index the node/* url in case of duplicated content

Still have questions? Get your answers by asking now.