Originally Posted by vikram_cvk
RewriteRule ^urlrewrites/old\.html$ urlrewrites/new.html
RewriteRule details-priority-(.*)-cat_id-(.*)-type-(.*)\.html$ priority$1/hometheater$2/widescreen$3
Since you're anchoring the first regex (with ^
), I believe you need to include the slashes, like this:
RewriteRule ^/urlrewrites/old\.html$ /urlrewrites/new.html
The second example seems to be working correctly, because I receive the following 404 message. That is, the error wasn't that it didn't translate it, but that it couldn't find the file to serve. Maybe you need a trailing slash after widescreen$3
The requested URL /urlrewrites/priority33/hometheater44/widescreen22 was not found on this server.