I want to redirect my dynamic urls to 404 page right now i m using this code # RewriteCond %{QUERY_STRING} ^(joke_id=[^&]+&cat_id=+) RewriteRule ^ http://www.example.com/%1 [R=301,L] PHP: I know there is problem in rewrite rule Will u plz post the correct code so all dynamic ursl get redirected to 404 page In simple i want A 301 redirect to a page that actual returns a 404 http status (and not just the 404 message) Thanks
Please give an example from WICH url you'd like to HTACCESS to NEW URL example: http://www.yoursite.com/index.php?page=test&cat=clipart http://www.yoursite.com/clipart/test.html or something!