I have a couple of hits everyday from a now defunct tutorial I wrote. Rather than letting them sit on the 404, I have created a page with links to more up to date ones in the hope that someone else can help.
I am attempting to edit my htaccess to rediret
My site is WP powered and the incoming link is
/tutorials/?p=3
I would like it to go to:
/wiki/sorry-this-tutorial-no-longer-exists
I have tried:
Redirect /tutorials/?p=3 http://domain.com/wiki/sorry-this-tutorial-no-longer-exists
The closest I got was
RedirectMatch 301 ^/tutorials/?(.*) http://domain.com/wiki/sorry-this-tutorial-no-longer-exists
But that of course sticks the ...exists/?p=3 on the end which doesn't work
Any help with the bloody question mark? (I tried htaccess url rewrite with question mark but it would not work?)