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

I created a page titled company. But the permalink turned it into /company-2/, trying to change it to just /company/ doesn't work. The website just has 8 pages and none is called company (don't know if company as page title is used in the past?).

What can i do and what is the cause? Where should i look? Not afraid to use phpmyadmin ;)


share|improve this question
up vote 7 down vote accepted

Check the slugs of the other pages - chances are /company/ is being used for one of those. You could also go to /company/ on your site and see if anything pulls up.

As mentioned in a comment, make sure to check the trash as well. You may have deleted a page with that name, but if it is still in the trash you can not reuse the name.

share|improve this answer
to that point, make sure you check the "Trash" as well – The Z Man Mar 6 '12 at 18:44
yep, Trash was the problem. This is a clean testing website. Turns out my lovely partner made some testing pages and trashed them directly. – alex Mar 6 '12 at 19:04

You're close. The permalink cannot be changed because at some point another page titled 'company' was drafted (not necessarily published). Unfortunately, there isn't much that I know of that you can do from WordPress to change this besides naming the page something else. However, you could go into the database if you have access and look in the 'wp_posts' table. Keep searching under the 'post-title' column until you find one that is simply 'company' and delete it. This should, in theory, solve your problem.

share|improve this answer
tx @cmegown, haven't look in the trash – alex Mar 6 '12 at 19:04

I had the same problem and did everything that is normally suggested (empty trash etc)..I found the problem was that I had an image in the gallery with the same name as the page. Deleted the image, uploaded it with a new name and the problem disappeared.

share|improve this answer

You've got another post/page with the same slug (probably in your trash) that already has take that. Find it and do your thing with it :)

share|improve this answer

I had this problem. And I checked all forums and trash and drafts and images with the same name. In the end I fond the problem with my incorrect usage of Yoast plugin - the redirect section. I created a redirect for a page which did not exist and that blocked me from creating a page with that url. Once I deleted the redirect I was able to rename the slug.

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.