How to change slug in wordpress?

8 replies
  • WEB DESIGN
  • |
I was putting my about us page in wordpress, and I save it. Then I noticed a mistake, so I fix it, and saved it again. Now it says About-Us-2 So I changed the slug and re saved it, and now it says About-Us-3. I have continued to try to fix it, and I am up to About-Us-9

How do I stop this. I have changed the slug several times in the control panel, and in quick edit. There must me some kind of cache that needs to be deleted.

Thanks Glenn
#change #slug #wordpress
  • Profile picture of the author SandyPeaks
    Have you tried creating a new post, pasting in your old 'about us' text and saving it?
    Signature

    Karen
    (SandyPeaks)

    {{ DiscussionBoard.errors[1689624].message }}
    • Profile picture of the author gjd6599
      Originally Posted by SandyPeaks View Post

      Have you tried creating a new post, pasting in your old 'about us' text and saving it?
      Yes, I deleted the entire post several times, logged out, and then entered the page again. It does the same thing. Someone suggested it could be a clinch in the new edition of wordpress.

      Glenn
      {{ DiscussionBoard.errors[1690306].message }}
      • Profile picture of the author domainhq
        I'm brand new to WordPress and am having the same problem described in ths thread. Have an 'about' page that needed to be changed, and now I'm in 'about-3'.

        I've deleted all other versions of the 'about' page but still can not rename the page slug from 'about-3' to 'about'.

        Did anybody figure out what the actual solution was?

        Thanks for any tips.

        Jay
        {{ DiscussionBoard.errors[2508277].message }}
  • Profile picture of the author itargetmedia
    it sounds to me that you will have to edit the code instead
    {{ DiscussionBoard.errors[1690059].message }}
  • Profile picture of the author Jeff Klein
    Go into your pages listing. Delete any duplicate About Us pages that may exist. Then edit the original about us page.
    The page slug is based on the page title. If you give a page a name that is already being used, WordPress will add a number to it to make it unique About-Us-2
    You can change the slug by clicking the edit button I think under the page title at the top of the page. You first have enter the title of the page. Sometimes there is a slight delay before the slug updates but it should update based on the title. Once it updates, you can change it. You just can't change it to a name that is already in use.
    I hope this helps.
    {{ DiscussionBoard.errors[1690302].message }}
  • Profile picture of the author KirkMcD
    Do you know how to edit the database using phpMyAdmin?

    Oddly WP doesn't delete changes to existing posts and pages, it just starts a new entry and marks the old ones as deleted.

    You need to manually delete these extra pages and since you are in there, you can manually change the slug too.
    {{ DiscussionBoard.errors[2510184].message }}
    • Profile picture of the author Karen Blundell
      Originally Posted by KirkMcD View Post

      Do you know how to edit the database using phpMyAdmin?

      Oddly WP doesn't delete changes to existing posts and pages, it just starts a new entry and marks the old ones as deleted.

      You need to manually delete these extra pages and since you are in there, you can manually change the slug too.

      NO!

      that is not needed at all...

      First go to posts and delete all the extra posts that you created
      then click on edit on the original post where you want to change the slug
      and you'll see an edit button next to the slug...click it, edit the slug and click save...done!
      Signature
      ---------------
      {{ DiscussionBoard.errors[2511740].message }}
      • Profile picture of the author piersb
        You'll also need to empty the trash before Karen's solution will work.

        But after you do that, you're good to go.
        {{ DiscussionBoard.errors[2895970].message }}

Trending Topics