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.

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 ;)

regards

share|improve this question

3 Answers 3

up vote 6 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.

share|improve this answer
5  
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

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

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.