I want to permanent redirect some .htm page from subdomain to main domain WordPress page, for this I am using this code Redirect permanent /cat/FSBO76.htm http://www.example.com/cat/my-favorite/ Code (markup): But I am getting a problem normally my WordPress page working fine but when I click on old link its redirect with trailing query string and showing page not found error. http://www.example.com/cat/my-favorite/?cat=FSBO76 Code (markup): Can anyone tell me how can I redirect without path and query string? or any way to solve this problem. I already try with Redirect 301 also.
That's because you have other rules in your .htaccess that redirects with the ?query - show the complete .htaccess, perhaps?