I have the following problem with a permalink: if I open this page (it is implemented as a static page) on my local website: localhost/wordpressAsper/archivio it automatically change it into http://localhost/wordpressAsper/archivio-2/

Going into the administration panel ---> pages ---> All pages ---> Archivio and editing it I can see that the related permalink is http://localhost/wordpressAsper/archivio-2/

So I tried to change it in from archivio-2 to archivio but I can't because when I confirm the change it return to archivio-2 (but I can change it any other values)

I think that this could depend by an old Archivio page (that I have delete) that had archivio as permalink. So I think that WP have registered the old permalink of the old page (that not exist yet) or something like this.

How can I fix it and have archivio as permalink instead archivio-2. Can I reset the old permalinks in some way?

  • 1
    You may have moved Archivio to Trash which does not actually delete the page. You may need to go to All Pages -> Trash -> Empty Trash (or delete Archivio). – Howdy_McGee Aug 13 '14 at 19:52
  • yes it is right – AndreaNobili Aug 13 '14 at 20:02

after you delete a page ,on the "all pages" section, on the top, after the "drafts", there is link to trash, go there and delete it permanently, after this you can change the slug name.


Make sure to check the permalinks of YOUR IMAGES also (in "Media"->"Library") as they create a permalink ("post" type) if you upload an image with a filename that is the same as the permalink you are wanting to use for a page.


Try Howdy_McGree suggestion. If that does not work, try changing your permalink structure, going to that page, resaving it to what you want, and changing your permalink structure back. Sometimes you kinda have to force WP into a reset.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.