Navigation überspringen

[Gelöst] slug is already used or a reserved word

Dieser Thread wurde gelöst. Hier ist eine Beschreibung des Problems und der Lösung.

Problem:
Saving custom post type throws Error:
You cannot use this slug because it is already used or a reserved word. Please choose a different slug.

Solution:
As the error reads, you must have created either any post, page, content template or view any any other entity with the slug "tablet-application" or it's a reserved slug.

WordPress do not allow duplicate slugs and slugs should be unique. Can you please try to find where you are using the slug tablet-application" and then rename that slug and then it will allow you to create entity with your desired slug.

Relevant Documentation:

This support ticket is created vor 3 Jahre, 3 Monaten. 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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

Dieses Thema enthält 2 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von kelvinL-2 vor 3 Jahre, 3 Monaten.

Assistiert von: Minesh.

Author
Artikel
#2315601
Screenshot 2022-03-14 at 12.03.46 AM.png

Dear Sir/Madam,

I created a custom post type 'Application' and assign its slug as 'Tablet-application', I can't change it as I did a lot of custom views, forms and code using this slug for this post. I want to change some settings to this custom post type, I got an error

You cannot use this slug because it is already used or a reserved word. Please choose a different slug.

How can I check which element using this slug? I want to change that.

#2316141

Minesh
Unterstützer

Sprachen: Englisch (English )

Zeitzone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

As the error reads, you must have created either any post, page, content template or view any any other entity with the slug "tablet-application" or it's a reserved slug.

WordPress do not allow duplicate slugs and slugs should be unique. Can you please try to find where you are using the slug tablet-application" and then rename that slug and then it will allow you to create entity with your desired slug.

#2321453

My issue is resolved now. Thank you!