View Single Post
Old 02-22-2013, 04:37 PM  
bean-aid
So Fucking Banned
 
Industry Role:
Join Date: Jun 2011
Location: the land of woke sleuths
Posts: 16,493
Anyone know how to do this redirect?

I have redirected a bunch of pages with success using this in htaccess:

RewriteEngine on
RewriteRule ^index.php/Section_([0-9]{3,4})$ http://www.website.com/section-$1/ [l]

However, most of indexed pages in the SE's are

http://www.website.com/?title=Section_109 (not just /Section_109)

and need the above URL to go to

http://www.website.com/section_109 as well.

Any ideas?
bean-aid is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote