Give help. Get help.

  • # May 29, 2013 at 9:10 pm

    I have a client WP website which has the following permalink structure: /%year%/%monthnum%/%postname%.html

    The .html suffix is there to insure compatibility for a Blogger to WP redirection plugin which has outlived its usefulness. I want to now change the permalink structure to just %postname%.

    But I want to avoid creating thousands of 404 errors for existing internal and external links. What is the best way to modify my htaccess? I’m not sure if this requires a regular expression redirect or a rewrite rule. I’m an .htaccess novice and would really appreciate some steering in the right direction.

    # May 29, 2013 at 9:12 pm

    Ouch, that’ll be a tough one. I imagine if it’s happening to *all* posts that there is some sort of simple 301 redirect plugin out there.

    # May 29, 2013 at 11:13 pm

    I found this plugin:
    But I’d rather do this with htaccess instead as I’m thinking that ought to be faster.

    # May 29, 2013 at 11:19 pm

    Actually, I just found a handy tool for this on Yoast’s site here:

    # May 30, 2013 at 2:20 am

    The Yoast solution worked!

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.