• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

WP SITES

2784

Original Genesis Tutorials & 6000+ Guaranteed Code

Snippets

  • Consultation
  • Full Access
  • Log in

Redirect Tool for Changing WordPress Permalink Structure

Permalink Redirection Tool

Searching for the best way to change your permalink structure without sacrificing performance and losing traffic? If you don’t know how to write code for your htaccess file then you need a tool which does the job properly.

Joost de Valk of Yoast has created a new tool which creates the correct code for redirecting your old permalink structure to /%postname%/

Redirection Generator Tool by Yoast

The redirect tool will ONLY redirect your old permalink structure to /%postname%/ so if you wanted a different structure, don’t use this tool.

Use this tool to generate redirects from your old permalink structure to the /%postname%/ permalink structure.

  1. Enter the URL of your site
  2. If you have WordPress installed in a sub directory, enter the name of the subfolder in the correct field.
  3. Select or enter your old Permalink structure and click the Generate Redirect button
  4. On the next page you’ll see the code has been generated for copying and pasting into the top of your .htaccess file
Redirect Code
In some cases you’ll find there’s no need to add any code when changing permalinks as WordPress will take care of that for you.

I personally use /%category%/%postname%/ which prior to WordPress 3.3 can effect performance if you don’t have caching setup correctly, however the release of WordPress 3.3 has now solved this problem.

Reader Interactions

Comments

  1. Hoang says

    December 2, 2014 at 9:12 am

    I tested the tool and it will not work if you current structure is /%category%/%postname%/.

    If your current structure is /%category%/%postname%/ then after redirect to /%postname%/ all the Tags will return 404 NOT FOUND.

    Can you give some suggestion to fix it? Thanks.

    Log in to Reply
    • Brad Dalton says

      December 2, 2014 at 9:44 am

      Its not my tool. I would ask Yoast about it however its not the only solution.

      Log in to Reply
      • Hoang says

        December 5, 2014 at 3:15 am

        If it’s not paid product Yoast does not provide support. I hope you may have some solution but thank you anyway.

        Log in to Reply
        • Brad Dalton says

          December 5, 2014 at 3:22 am

          Are you a member of wpsites?

          Log in to Reply
  2. Adrian says

    June 20, 2014 at 3:12 pm

    Hello Brad,

    I see the tool will ONLY redirect your old permalink structure to /%postname%/
    But how about if I wanted to redirect to /%category%/%postname%/
    Any idea how to do that.

    Thanks

    Log in to Reply
    • Brad Dalton says

      June 20, 2014 at 11:11 pm

      Why do you want to do that Adrian?

      Log in to Reply
      • Jen says

        August 24, 2014 at 2:07 am

        Hi Adrian and Brad,

        I would like to do the same as Adrian, as I want the category of the post to show in the link (it helps give more information in the link) e.g. instead of just

        it would be

        which is more information without doing more work

        Thanks,
        Jen

        Log in to Reply
        • Brad Dalton says

          August 24, 2014 at 5:59 am

          Are you using the custom structure like this:

          /%category%/%postname%/
          Log in to Reply
          • Jen says

            August 25, 2014 at 1:43 pm

            Hi Brad,

            Yes, I want to use /%category%/%postname%/

            I got the redirect tool to redirect to /%postname%/
            RedirectMatch 301 ^/([0-9]{4})/([0-9]{2})/(.*)$ <a href="http://example.com/$3" rel="nofollow ugc">http://example.com/$3</a>

            But I don’t know what the redirect code is to redirect to /%category%/%postname%/

            Thanks

          • Brad Dalton says

            August 25, 2014 at 1:53 pm

            The tool enables you to add your custom structure before generating the code for your .htacess file which in this case is:

            /%category%/%postname%/

            Add the following redirect to the the top of your .htaccess file:

            Replace example.com with your domain.

  3. Harpal singh says

    March 5, 2014 at 11:11 pm

    HELLO Brad,
    I followed the instructions and these worked well,
    but only HOME PAGE OF MY SITE IS Returning 404 error after this . it redirect to iknowc.in/index
    PLEASE HELP ME.

    Log in to Reply
    • Brad Dalton says

      March 6, 2014 at 4:39 am

      Understand however not sure how to help with this as its externally generated code and not my own.

      Does Yoast offer support for his product?

      Log in to Reply

Leave a Reply Cancel reply

You must be logged in to post a comment.

Primary Sidebar

Code written by Brad Dalton specialist for Genesis, WooCommerce & WordPress theme customization. Read More…

Advertise · WPEngine · Genesis · Log in

  • Access Problems
  • Account Details
  • Consulting
  • Tags
 

Loading Comments...
 

You must be logged in to post a comment.