WordPress.org

Ready to get started?Download WordPress

Forums

htaccess after moving from MT to WP (2 posts)

  1. Houndowl
    Member
    Posted 4 years ago #

    I'm pondering moving an old blog from Movable Type to WordPress soon.

    The old MT posts all have URLs like http://www.mysite.com/001416.html. Clearly I can't keep the same URLs with WP since WP uses php. So once I switch, I'll have about 4000 old posts with new URLs in the now-standard mysite.com/2003/06/title-with-keywords format.

    I know how to redirect a URL with htaccess.

    But here is my question: how many redirects can you safely have in one htaccess file? Would 4000 separate redirects slow down the site? Or have any other negative impact?

  2. WatchCount.com
    Member
    Posted 4 years ago #

    I'd shy away from a long list of redirects in your .htaccess file. While I've never gone that far, I would imagine it would create a tangible, and ugly, performance hit.

    See if you can find a way to automate this. Calling all WP experts: Isn't there a way with WP to create a post slug of whatever you want (i.e. "transfer-001416") that might end up as a permalink such as mysite.com/posts/transfer-001416.php? If so, you can then easily reduce your entire set of redirects to 1 line in .htaccess.

    -WC

Topic Closed

This topic has been closed to new replies.

About this Topic