|Posted: 11 May 2010 at 8:38am
|Ok, let me clarify a bit.
Do you need to redirect either www.example.com/products/?q=anything or www.example.com/?q=something to 404 error page?
Sorry for the bad post I wasn't thinking.
here is the issue. I have Helicon installed on the server Isapi-rewrite3. I use it for several basic fuctions 301's and several other applications but no url rewrites.
This is a static .htm site. I am an SEO and have been reading that people doing black hat seo are linking to sites using the above against them from duplicate content.
Right now on my site if I add the ?q=keyword-keyword
this throws a server header 200.This makes this live page/s and can have negative effects on SEO.
So yes I want it to throw a 404 I have a custom 404 page built and use IIS to direct the user to the custom 404 page.
I do want to add I have a search fuction on the site that uses
http://www.example.com/search.asp?searchterm=anything that I do not need to mess with in the rewrite rule.
I hope my more detailed post will help in finding a way to get this done.
Thank you very much,