Rewriting Entries - WordPress to Textpattern
Posted May 30, 2007 @ 4:19 pm UTC · Comments
tagged: casual hex, htaccess, search, textpattern, wordpress
I finally (finally!!) figured out how to redirect visitors following my old WordPress entry links to the new URLs that all of those entries now have after I converted Casual Hex to Textpattern.
Old URL example:
http://casualhex.com/archives/2006/03/07/closer-cant-take-my-eyes-off-of-you
New URL example:
http://casualhex.com/2006/03/07/closer-cant-take-my-eyes-off-of-you
Simple, single line to add to .htaccess file:
RedirectMatch 301 ^/archives/(.*)$ http://casualhex.com/$1
Big, giant thanks to those behind the amazing guide:
Stupid .htaccess Tricks