Skip Navigation

[Resolved] Remove post type slug from url

This support ticket is created 6 years 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.

This topic contains 5 replies, has 2 voices.

Last updated by Diego Pereira 6 years ago.

Assisted by: Diego Pereira.

Author
Posts
#1185119

Tell us what you are trying to do?
I want to remove the post type slug from url

Is there any documentation that you are following?

Is there a similar example that we can see?

What is the link to your site?

#1185161

Diego Pereira
Supporter

Hello, welcome to the Toolset support Forum!

Unfortunately this is not possible. The non-slug URL of custom post type is reserved for the pages (e.g. yourwebsite.com/about). This is a default WordPress setting. You can modify the slug of custom post type, but not remove it.

Kind regards,
DIego

#1185167

My url is like: domain.com/inside-door/name-of-door, and i want to remove inside-door. For example i want my url to be like this: domain.com/name-of-door without inside-door.

I find this conversation and i think is possible, but i don`t have access to link (is hidden):
https://toolset.com/forums/topic/how-to-remove-slugs-from-custom-post-type-permalink/

#1185182

Diego Pereira
Supporter

Hi there,

These are the links:
- hidden link
- https://wordpress.stackexchange.com/questions/203951/remove-slug-from-custom-post-type-post-urls/204210#204210

Please note that you are using external resources and that this is not a Toolset feature , so it is not part of our support scope. It's at your own risk. My recommendation is to do a website backup before.

Kind regards,
Diego

#1185266

OK! Thank you for answers.

#1185431

Diego Pereira
Supporter

Hi there,

I'm closing this ticket for now. Feel free to open a new ticket if you need more help with toolset. We are always happy to help.

Kind regards,
Diego