admin管理员组

文章数量:1202004

I'm trying to use WordPress to make a web page. I made a "Contact" page, but for some reason it didn't show up. WordPress kept saying it couldn't find it. So I deleted it and made a new one called the same thing, "Contact". Now the Contact page works, but it has a -2 in the URL. I want to make it say / instead of /

How do I do this?

I'm trying to use WordPress to make a web page. I made a "Contact" page, but for some reason it didn't show up. WordPress kept saying it couldn't find it. So I deleted it and made a new one called the same thing, "Contact". Now the Contact page works, but it has a -2 in the URL. I want to make it say http://www.dragonavionics.com/contact/ instead of http://www.dragonavionics.com/contact-2/

How do I do this?

Share Improve this question asked Jun 15, 2014 at 2:42 kmortkmort 1135 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 3

When you delete a post, it merely gets put into the "trash" and retains its slug. When you created the "new" contact page, the slug "contact" was already in use by the original contact post that is in the trash.

Go into your posts on the dashboard and click on the "Trash" link near the top of the post listing. Once in the Trash area, permanently delete the original contact post.

You can now go back into the "new" contact post, edit the slug near the top of the post, and remove the extra -2 that was added to it. Click OK and save the post. It should now have the slug contact instead of contact-2

本文标签: pagesRemove number in URL