WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This is probably a really noob question, but I can't figure out how to change it. I've created a page called "Photos" and my url link shows:


What's with the -7 and how do I remove this so it is just photo?

share|improve this question
do you have other pages in the trash with a similar permalink? – Milo Apr 5 '12 at 21:32
@Milo Yes I had some in the trash from previous pages that I created. I though when you moved them to trash, that it deleted them, but was not the case. I found where you can delete them permanently. – Romes Apr 6 '12 at 18:29
up vote 3 down vote accepted

This is because your site already has a post or page (6 in your case) with the slug "photo."

They might be in the trash, or pending as drafts, or whatever ... but WordPress automatically appends number to prevent name conflicts.

So go through your site, and figure out which other pages are trying to use the "photo" slug and change their slug to something else. Then you can re-edit your other page to change its slug to just photo rather than photo-7.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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