The code I've used is below, which generates a 404. If I add R=301 as a flag, I can use the static URL and get redirected to the long search query URL page, but without the 301, it fails (obviously I would like the URL in the address bar to remain as the friendly one).
- Code: Select all
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteBase /
RewriteRule ^aeg-fridge-freezers\.html$ /index.php?target=products&mode=search&subcats=Y&type=extended&avail=Y&pshort=Y&pfull=Y&pname=Y&pkeywords=Y&cid=31&mid=56&seotitle=AEG+Fridge+Freezers,+AEG+Integrated+Fridge+Freezers,+AEG+Larder+Fridges&seodescription=AEG+fridge+freezers,+AEG+integrated+fridge+freezers,+AEG+larder+fridges+and+AEG+American+fridge+freezers.&seokeywords=AEG+fridge+freezers,+AEG+integrated+fridge+freezers,+AEG+larder+fridges,+AEG+American+fridge+freezers [L]
There are many other RewriteRules in the .htaccess, this is just the first (I've tried it with just one, same issue, so I'm sure it's not a conflict).
Thanks for your help!