Hello! I have a problem I can't figure out. I have this in my .htaccess and it is not working. If I go to the url I just get redirected to the 404 page. ErrorDocument 404 /404.html RewriteEngine on RewriteRule search\.php?title=888888 /updated/?a=search&n=0&category=title&q=88888 To me the above looks correct what do you think? Thanks in advanced.
replace your above line by below and test again: RewriteRule ^search\.php?title=888888$ /updated/?a=search&n=0&category=title&q=88888 [L] of course you have to make sure you have the title title=888888 existing else you get a correct 404
What do you get if you request /updated/?a=search&n=0&category=title&q=88888 ? If that's a 404 then you will need to make that page work first.
Andy$$$ if you still search for a solution - it definitely would help a LOT to give at least the domain-URL of the site in question before asking more questions. without knowing server details much of possible help is more guesswork/waste of time than efficient help
try this code RewriteEngine on RewriteBase /updated ErrorDocument 404 /404.html RewriteRule search\.php?title=888888 /?a=search&n=0&category=title&q=88888 [L] or RewriteEngine on RewriteBase / ErrorDocument 404 /404.html RewriteRule search\.php?title=888888 /updated/?a=search&n=0&category=title&q=88888 [L]