• Home
  • About
  • Archive
  • Contact

Casual Hex

Uncertain about goals, impulsive in online activities.

Feeds
RSS
Atom

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

No Comments

Comments closed after six weeks.

  • Related Entries

    • WordPress 2.6 Released!
    • Tumbling For WordPress 2.6
    • I Have a Stream!
    • Jumping and Tumbling We Play the Whole Day
    • Declaring This Place a Disaster Zone
    • Too Easy To Figure Out
    • Playskool Comment System
    • Testing MarsEdit
    • TextPattern Issues
    • Textpattern vs WordPress
  • Recent Entries

    • Reality Strikes
    • WordPress 2.6 Released!
    • Tumbling For WordPress 2.6
    • Doctor Who - Journey's End
    • I Have a Stream!
    • Jumping and Tumbling We Play the Whole Day
    • Feels Like You're Watching a Film Made By Madmen
    • Whine, Feed, Play, Cuddle, Sleep... Write?
    • Stating the Obvious About Internet Explorer
    • Want To See: The Tracey Fragments

Written by Geoff Taylor. | XHTML • CSS • 508
Content copyright © 2004-2008

Textpattern. It's all good.