| Posted: 22 September 2008 at 3:24am | IP Logged
|
|
|
Hi all!
I hope one of you guys can help me..
I want all URL's ending with "*.html?about=X" to redirect to *.html" X being a number. I have a faulty link causing Google to index pages with ?about= which directs visitors to a blank page, so if I could make a rule that simply ignores the ?about=X.
The current rule looks like this: RewriteRule /+[^?/]+/+[^?/]+/+[^?/]+/(\d+)(?:-(\d+))?(?:-(\d+))?.html(?:\?(.*))? /default.asp\?prodCatId=$1(?2&supplierId=$2)(?3&productId=$3)(?4&$4:) [I,L]
|