WiscWeb - WordPress UW Theme - Updating Permalink (Slug) Value
When you create a page, post, or other content item within your site that has the same name as another item already created, WordPress will automatically append a -2 to the end of it. For example, if you have an about page already created, and you create a second page titled about, your URL for the new page will be https://sitename.wisc.edu/about-2/. This document will walk you through the process of renaming any Permalink or Slug values that you want to.
When a new page or post is created and saved or published, you may notice that the URL permalink will have a -2 appended to it. This usually occurs when you have created a page or post with the same filename and saved it as a draft or published it. This can be fixed by either deleting a duplicate, or updating the permalinks so that you have only one of each page or post.
- Click on the Edit button next to the Permalink.
- In the field that appears, you would change or update the editable text.
- Once you've done that, click the OK button to the right to update this change.
Once you have updated your permalink value, you should also consider what menu or navigation areas you have used this page. Test those to make sure that the links are pointing to the right page