[Resuelto] Cannot Edit Post Type – Keeps saying slug already used
This support ticket is created hace 7 años, 6 meses. There's a good chance that you are reading advice that it now obsolete.
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
Here is navigation I go to edit post type so that I want Author selection tick.
Toolset > Edit Post Types > Sections to display when editing > tick author then save.
After click save it echo errors message "You cannot use this slug because it is already used or a reserved word. Please choose a different slug."
I don't want slug to change. I just want to have option to select/change author at post edit. I didn't tick on author when I created this post types. Now I just want to edit and update.
I just want to add that is ONLY happen to one specific post type which is Restaurants. I tried with other post types it works.????
I can understand what you are trying to do, but cannot account for why you are unable to.
I think it would help if I took a look at your site myself.
I will mark your next reply as private so that I can get log-in credentials from you—you may want to create a temporary admin user for me to use that you can later delete. And be sure to have a current backup of your site, even though I don't intend to make any changes other than possibly to temporarily add a backup plugin to take a snapshot of the site.
I found the culprit, which is that you have a standard WordPress page with the same slug (restaurants). I modified the slug of that page which freed up the settings page for the restaurants CPT, which you can now save.
@brent it's not possible to have a CPT and page use the same slug, otherwise WordPress cannot tell whether site.com/press-releases/ should display the page or the archive of the Press Releases post type.
In your case the conflict doesn't actually arise, because the press-releases page is actually a child page, and includes the parent page in the URL, but I guess the mechanism to detect potential conflicts misses that nuance.
But it does mean you would either need to temporarily rename your page to edit the CPT, yes, or you could change the slug of the CPT to press-release (singular), which is the common pattern (so that individual releases have a url such as site.com/press-release/new-ceo-announced/.
This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.