Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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:

http://mysite.com/photo-7/

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.