Page 1 of 1

Re: Damaged htaccess File With Slug In Link

Posted: Wed Jul 17, 2013 8:32 pm
by johnj
I have not tested this but what you want should be something like this

Code: Select all

RewriteCond %{THE_REQUEST} ^GET\ /12345/
RewriteRule ^12345/(.*) /12345/large-red-widget/$1 [L,R=301]

Re: Damaged htaccess File With Slug In Link

Posted: Wed Jul 17, 2013 8:33 pm
by johnj
if that does not work you can also try this

Code: Select all

RewriteRule ^12345/(.*) 12345/large-red-widget/$1