Forum Moderators: phranque
RewriteRule ^(concerts¦theatre¦misc)/*$ allcats.php?e_type=$1 [L]
basically it directs any requests for blah.com/theatre, blah.com/concerts, blah.com/misc with or without the slash to allcats.php?e_type=blah. Well yahoo search marketing (overture) add something along the lines of blah.com/concerts/&OVERAW=blah&OTHER=blah which breaks this htaccess rule, i want to be able to compensate for this, at least momentarily while i get them to remove the crap on the end which is obviously wrong because they aren't adding a "?". I tried this which i thought would work
RewriteRule ^(concerts¦theatre¦misc)/(*$)¦(&.*) allcats.php?e_type=$1 [L]
but that broke the rule and i got an internal server error....
any ideas or should i just wait until the remove it?
thanks, tom
# Redirect to force removal of added junk on URL from search engine databases
RewriteRule ^(concerts¦theatre¦misc)/& http://www.example.com/$1/ [R=301,L]
# Rewrite static URLs to invoke the allcats script
RewriteRule ^(concerts¦theatre¦misc)/?$ allcats.php?e_type=$1 [L]
Jim