Skip Navigation

[Resolved] Word reserved – Cant create a new Type

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.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 10 replies, has 3 voices.

Last updated by rafaelI-3 4 years, 7 months ago.

Assisted by: Christian Cox.

Author
Posts
#1852103

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?

What is the link to your site?
Daytraderpro.io

#1852579

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.

#1856009

Hi Christian,

I ve tryied what you suggest without sucess, still recieving the message "...word reserved...)

Can you help? Cause i need to make this change

Rafael

#1856627

Sure, I will be glad to take a closer look if you provide admin logins in the private reply fields here.

#1858099

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Rafael,

Christian is currently on holiday today but he will be back on Sunday to continue assisting with this.

Thank you for the continued patience.

#1860497

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.

#1860499

For sure, go ahead!

#1860599
Screen Shot 2020-11-29 at 12.43.33 PM.png
Screen Shot 2020-11-29 at 12.43.26 PM.png

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.

#1860947

Hi, Christian!

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:

https://toolset.com/forums/topic/translate-post-archives/

#1861569

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.

#1861965

My issue is resolved now. Thank you!