The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Redirect help needed (3 posts)

  1. Kathy_P
    Posted 11 years ago #

    I switched from Movable Type 2.661 to WordPress 1.5 a few months ago. My MT blog is still up and I notice it's still getting quite a few hits from Google, so I want to set up a redirect. I have looked in the Codex, and the information there is a bit confusing to me, partly because my MT blog was in a subdomain and my WP blog is not, and partly because I seem to fall into two "if" categories. I'll start from the top of the Codex entry and work my way down.

    "Matt's method uses the .htaccess file for redirection."

    Except I don't see any mention of the .htaccess file after this sentence.

    ". . . have it output to redirect.php in your WP root directory"

    Do I need to create this file before MT outputs to it? Or will MT create it when it does the outputting?

    Now a few examples are in order:

    This url in MT http://weblog.coldclimategardening.com/archives/2004_09.html#000326
    (the tail end of that url is /2004_09.html#000326)

    Is represented by the following url in my WordPress blog

    So it seems to me that I fall under two "ifs": entry IDs padded with zero and extension is .html. [I just saw that it could be interpreted that the .html "if" only applies to those who used dirify in their post titles, which I did not. But since I misunderstood this the first 5 times I read it, I'd like to have this new understanding confirmed.] So I use the padded zeroes Redirect line. Should this code be all on one line, instead of wrapped, as it appears to be in the Codex?

    After creating the MT template and having it output to redirect.php, then what? Am I done? Or are there missing steps?

  2. James Huff
    Support Team Rep.
    Posted 11 years ago #

  3. Kathy_P
    Posted 11 years ago #

    I thank you for the links, Macmanx, but does your providing them imply that the first method, which is in the Codex, won't work for me?

    I don't know much about .htaccess except that if you do something wrong it can really screw up your site. I would like somebody to tell me if the fact that my MT url is a subdomain and the WP url is in the root makes any difference, and if it does, what modification to either the Codex fix or Dan Hersham's fix do I need to make? And does the fact that all the links above were using a WordPress version earlier than 1.5 make any difference?

Topic Closed

This topic has been closed to new replies.

About this Topic