This thread is resolved. Here is a description of the problem and solution.
Problem: I am trying to create a custom post type with the slug "downloads" but I see a message that the word is already in use, or reserved. I have a custom Page with the slug downloads already.
Solution: You must rename the custom Page slug to something else before you can reuse the slug "downloads" for a custom post type. In this case, the site also uses WPML to translate posts. The downloads slug must be changed in all languages before it is possible to reuse the slug elsewhere.
This support ticket is created 4 years, 8 months ago. 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.
Tell us what you are trying to do?
Hi, i already had a page with the name and slug "downloads" and i used to emulate an custom posts with pages under /downloads/name-of-ebook for example.
Now i would like to create a custom type with the name Download and url /downloads/ but i cant because its saying that this word is reserved!
Can you help me with a turn around for this?
Is there any documentation that you are following?
No
Is there a similar example that we can see?
Hello, one way to resolve this is to edit the Downloads Page in wp-admin > Pages. Modify the page slug manually to be something like temporary. Then go to wp-admin > Settings > Permalinks and resave your site's Permalinks. This should free up the slug downloads so you can then create your custom post type with the proper slug. Once you have created your custom post type Downloads, you can begin recreating the child Pages as custom posts in the Downloads post type.
After you create the custom posts, you can begin deleting the original custom Pages. Let me know if this does not solve the problem for you and I can take a closer look.
Okay I'm not sure why this isn't working in your case. It could have something to do with translations in WPML, but I would need to do some additional investigation. Is it okay for me to create a clone of your site using the Duplicator plugin? I will be able to test further without modifying your live site.
Okay in my local tests, I was able to add a custom post type with the slug downloads after I edited the Downloads page and changed the slug in both Portuguese and English. The post IDs are 14041 and 15952: hidden link hidden link
Both slugs must be changed to allow the downloads slug to be reused. Please confirm if you are able to create the custom post type after renaming the slugs of both of these Pages.
Yes, now it works! Seems that the question was to exclude the english version of the pages...
I want to use the arquive pages generated from my theme for a while, but how can i make the tranlated arquive pages of this custom posts?
I dont know where to create the english versions of the arquive pages of my custom post types from toolset.
Many thanks for wonderful support!
Rafael
New threads created by Christian Cox and linked to this one are listed below:
Great! I've split your new question into a separate ticket to keep the forum organized. We can follow up in the new ticket to discuss translating post archives.