Search engines crawl the site with parameters
/?p=([0-9]+)
/?cat=([0-9]+)
/?do=([a-z]+)
etc
How make in .htaccess to inform the search engines that such pages no longer exists?
I have only /?page=([0-9]+)
Thanks.
I tried
RewriteCond %{QUERY_STRING} ^(p|cat|do)(.*)$
RewriteRule ^$ http://test.com/simple [R=301,L]
but
http://test.com/?p=23 give me http://test.com/test?p=23 (not http://test.com/test)
http://test.com/?cat=11 give me http://test.com/test?cat=11 (not http://test.com/test)