View Single Post

  #1 (permalink)  
Old 26-08-2008, 02:27 PM
Cormac's Avatar
Cormac Cormac is offline
Cormac Moylan
 
Join Date: Jan 2006
Location: Baile Ath Cliath / Corcaigh
Posts: 1,252
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 301 Redirect Issue

Hi guys,
I'm encountering an issue with a 301 redirect which I am trying to implement.

I have added the following rewrite rule in a htaccess file in my root..
Quote:
RewriteEngine on
Redirect 301 /buy/ http://www.domain.com/shop/
Redirect 301 /buy/sports http://www.domain.com/shop/buy-cheap-sports-equipment
When I check the redirect in my browser I get redirect to http://www.domain.com/shop//sports instead of http://www.domain.com/shop/buy-cheap-sports-equipment

Any ideas on what might be going wrong? I'm probably missing something obvious but I ain't spotting it.
__________________
blog | Geansaí Gorm - Written entirely in, awful, Irish! | Me on Blue Jumpers
*
Reply With Quote