I'm having trouble getting 301 redirects to work as I'd like for pages from an old Drupal site into corresponding new pages on WordPress. Does anyone have any advice on this please?
This code works...
RewriteRule ^?q=node/(.*) http://www.website.com/?p=$1 [R=301,L]
...but I've hit a stumbling block because I need the URLs to be like this in the end...
RewriteRule ^?q=node/2 http://www.website.com/search-friendly-url/ [R=301,L]