WordPress.org

Forums

htaccess redirect for moved blog (3 posts)

  1. ergate
    Member
    Posted 9 years ago #

    I have moved a blog from a directory to a subdirectory on the same domain. I have followed the suggestions from the Codex. The only thing that I need a hand with is how to write a redirect for the htaccess, to direct for a directory to the subdomain.

    Thanks

  2. w3central
    Member
    Posted 9 years ago #

    http://www.w3central.com/apache/redirect-to-the-www-version/

    It's not completely the same problem you're asking about (as I don't know your current and previous url structure) but you'll be able to figure it out with that link. Make sure it's a 301. The only difficulty might seem finding an expression that matches what your url looks like. But with the example above it shouldn't be hard.

  3. splosh
    Member
    Posted 9 years ago #

    if you have cpanel you theres an easy link !

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags