Hi,
I am using WP 1.5 and have a line redirecting an old static page (/somedir/myfile.html) to a permalink type address (www.mysite/newvirtualdir/slugname) but I get a strange URL returned - something link www.mysite/newvirtualdir/slugname?category_name=somedir/myfile.html=myfile.html&page=
I am guessing this is due to the permalink rules. How do I fix this?
Can you provide the details of your redirect? (ie snippet from your .htaccess or something?)
Sure - It's
Redirect /Management/HRM/British_HRM.html /management/current-hrm
The second part is based on a permalink.
Hi - I hope that is enough information - let me know if you need any more clarification! Thanks again!
Michael_
Member
Posted 3 years ago #
Try this one:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^management/hrm/british_hrm\.html$ /management/current-hrm [L,R=301]
</IfModule>
babylonian
Member
Posted 3 years ago #
This helped solve my problem with permalink redirections ;)!
Thank you very much.