View Single Post

  #1 (permalink)  
Old 16-04-2008, 02:51 PM
Cormac's Avatar
Cormac Cormac is offline
Cormac Moylan
 
Join Date: Jan 2006
Location: Baile Ath Cliath / Corcaigh
Posts: 1,251
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Cormac has much to be proud ofCormac has much to be proud ofCormac has much to be proud ofCormac has much to be proud ofCormac has much to be proud ofCormac has much to be proud ofCormac has much to be proud ofCormac has much to be proud ofCormac has much to be proud of
Send a message via AIM to Cormac Send a message via MSN to Cormac Send a message via Yahoo to Cormac Send a message via Skype™ to Cormac
Default * wildcard htaccess 301 redirect

I'm trying to setup a redirect so that any request to any page which ends in ?page_id gets redirected to the homepage of the site.
The following rule is placed within the htaccess file but it throws up an internal server error:

Code:
RewriteRule ^?page_id=(.*)$ /http://site.something.com [L,R=301]
Any ideas?
__________________
blog | Geansaí Gorm - Written entirely in, awful, Irish! | Me on Blue Jumpers
*
Reply With Quote