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 badges1 Answer
Reset to default 3When 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
版权声明:本文标题:pages - Remove number in URL 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1738618217a2103034.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论