Hello,
I have a new ecommerce site with drupal + ubercart. I am testing the website with a close circle of my friends before going to advertising it. I have google webmasters account for the website and shockingly I found that Google has the following keywords at the top of the list for my website:
div
product
class
form
span
cart
edit
type
imagecache
name
display
label
files
hidden
image
After researching a couple of drupal posts and other post on internet, I found that google is indexing xml files of taxonomy feed in the url format http://www.example.com/taxonomy/term/15/all/feed and parses the html entities as content of the website. Since I had large number of taxonomy terms, these pages got indexed and the html tags got into my website's keyword list.
I guess with a simple 'Disallow: /taxonomy/term/*/*/feed' this serious seo blunder can be avoided.
For my case, I added 'Disallow: /taxonomy/*' and 'Disallow: /taxonomy/' as I had path alias urls for accessing taxonomy terms.
this issues is related all drupal releases but not sure how it tag it like that.
Comments
Comment #1
snorkers commentedThanks for your suggestion - I had wondered why DIV, FIELD and CLASS were in my top 10 keywords.
Agree this is a bit of a crucial bug. Not sure if being able to change the URL to end /feed.xml might steer Google in the right direction (odd, as all the right tags are at the beginning of the XML document:
... is there a Google name space (xmlns:) that might help?)
Comment #2
almalino commentedSame problem I have reported here:
http://drupal.org/node/666930#comment-3040050
Comment #3
powery commentedI have the same problem. Subscribing.
Comment #4
powery commentedComment #5
dpearcefl commentedIs this issue still occurring in the current version of Drupal v6?
Comment #6
neokrish commentedYes, it's still the same problem.
To check the problem, go to http://drupal.org/taxonomy/term/15/all/feed and view the html source code in your browser. I am pasting a small snippet from the above url below. Notice the occurrence of 'div' 'href', 'class' etc... These are the words that are topping my Google Webmaster Keyword list.
The latest robots.txt also does not disallow indexing of taxonomy term feed pages. Hence it's critical and not yet resolved.
Comment #7
dddave commentedI am not sure I understand the problem here correctly so please help me out. Simply editing the robots.txt file helps, doesn't it?
What do you want Drupal to do here? Is this really a bug or a feature request? And this is definitely not critical per http://drupal.org/node/45111
Comment #8
neokrish commented@dddave.. agree that it's not critical.
Yes, editing robots.txt helps to avoid google indexing these urls and prevents it from mistaking divs and spans as content of the website.
However, how many people ever know (I am not talking of developers here) to make these changes and how many does know that this problem exists at first place?
The solution that I am proposing is that Drupal ships with an updated robots.txt that handles this issue so that the millions of drupal installations do not have to edit their robots.txt to do the same.
Comment #9
dddave commentedYou stated in you OP that this is a problem for any Drupal version so lets kick it some versions up to see what the elders say about this issue. ;)
Comment #10
damien tournoud commentedI never heard of a recommendation to block RSS feeds from robots.txt (that just feels retarded). Anyone has a link for that?
Comment #11
neokrish commented@Damien
These links may not be what you are asking for, still these may be related.
http://drupal.org/node/660784
http://sebastians-pamphlets.com/google-to-remove-feeds-from-web-search-r...
http://googlewebmastercentral.blogspot.com/2007/12/taking-feeds-out-of-o...
Comment #12
damien tournoud commentedIf nothing, it seems to be a bug in Google Webmasters tool.
Comment #13
catchNot a major bug at least, I'm sure other search engines manage to deal with feeds just fine.
Comment #22
lendudeI'm going to agree with #12 here, indexing a feed page as HTML seems like a bug in the tooling.
Several things have changed over the years. In D8 these feeds are Views and they are disabled by default, so at the very least this isn't an out of the box problem anymore.
But, is this still an issue, has anybody seen this happen lately or can we close this?
Comment #23
lendudeCleaning up old bugs, tagging for the initiative
Comment #26
quietone commentedThere has been no activity here for 11 years, except to ask for more information over a year ago and there has been no reply.
There is agreement that this is a problem in tooling and given that changes to Drupal 8/9 it is time to close this. Therefore, closing as outdated.