-1

4 down vote favorite

I have noticed after deleting an original page in WordPress with lets say a permalink of your_domain.com/contact/ and then trying to recreate the same page with the same name/slug, my WP is generating a "-2" at the end of the link, like: your_domain.com/contact-2/.

I don't understand why, since the original page was deleted. Why is WordPress treating new pages as if the original still exists? There is nothing in 'trash'.

I repeat there is nothing in 'trash'.

marked as duplicate by Pat J, fuxia Feb 15 '17 at 20:41

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

-1

You'll have to look in your database and deleted the old entry from there. And then you'll be able to rename the slug to the old name.

  • Could anyone expand on that for me please? I don't want to make the situation worse by poking around in a corrupt database that I know little about. – user113409 Feb 16 '17 at 10:56

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