Voting starts in March for the Drupal Association Board election.
Perhaps someone can help me out. I found this post that summarizes my issue, but it doesn't really explain the way to resolve it:
I have a client using Drupal 6 + Ubercart + the Catalog submodule of Ubercart to display categories of products. If someone goes to a good URL there are no problems, so for example if they go to http://www.mystore.com/catalog/t-shirts, and that exists, then no issues.
However, if someone goes to a URL that does NOT exist, let's say http://www.mystore.com/catalog/something-that-does-not-exist, then it takes the user to http://www.mystore.com/catalog rather than a 404 not found page. The problem I am having with this, is that somehow Google has indexed a large handful of bad URLs, possibly from a previous version of the site, and when we go to those pages, they all redirect to the same place: mystore.com/catalog.
Google doesn't like this because they think we have a rather large number of pages with the exact same page content (in fact, the number of pages is infinite: mystore.com/catalog/mickey-mouse, mystore.com/catalog/m-i-s-s-i-s-s-i-p-p-i, and so on). We have used the redirect module to handle a handful of them, but it's not a total fix as new ones are found, and it doesn't alter the behavior.
Furthermore, I don't like this behavior either. I am using a very nifty module called search404, that intelligently suggests what actual page a user might be looking for based on keywords it finds in the URL a user tried. So if there is a page at mystore.com/t-shirts, and the user tried mystore.com/shirts, then search404 would suggest the t-shirts page. But when it just redirects to /catalog instead of serving up a 404 page, I lose that cool feature.
So, very long explanation. Sorry about that. But the question I have is, how can I alter the Catalog submodule of Ubercart in Drupal 6 to NOT behave this way? I want it to serve up a 404 instead of going to /catalog, and I'm to the point where I am willing to hack the uc_catalog module to do it (gasp).
My apologies if this is a duplicate post.