Redirecting MT entries to WP
-
I have recently moved hosts and URL, and along with that move d from MT to WP. Following these instructions:
https://www.muditajournal.com/archives/000280.php
I got MT to export entries along with the ID of the post, and imported them into WP. I also did a find and replace in the MT export to change https://oldaddress.com/ to https://newaddress.com
A number of posts contain internal links of the form:
https://oldaddress.com/archives/000001.html
After the find and replace, these links are in WP as:
https://newaddress.com/archives/000001.html
I have been trying to do a mod_rewrite so that this redirects to:
https://newaddress.com/blog/YYYY/MM/DD/this-is-the-title/
Of course, I have been completely unsuccessful. Through various googling I have got this:
RewriteEngine on
RewriteRule ./archives/0*([0123456789]+).html ./blog/index.php?p=$1However this is pretty much meaningless to me, so if someone could point me in the write direction, that would be great!
- The topic ‘Redirecting MT entries to WP’ is closed to new replies.