Skip Navigation

[Resolved] Permalink Structure dont work with CPT and TAX

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

Our next available supporter will start replying to tickets in about 2.50 hours from now. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 - - 9: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: Africa/Casablanca (GMT+01:00)

This topic contains 7 replies, has 2 voices.

Last updated by christophS-4 3 years ago.

Assisted by: Jamal.

Author
Posts
#2219929
Bildschirmfoto 2021-11-13 um 10.33.07.png
Bildschirmfoto 2021-11-13 um 10.28.41.png
Bildschirmfoto 2021-11-13 um 10.27.13.png

Tell us what you are trying to do?
I made a Custom Post Type "Texte".
They have 4 Categories eg. one of them is "romane".

On the fronten it should like this:
archiv:
hidden link

and the single-view with the post:
hidden link

but it dont works. either it display the the post type slug or 404 or anything else.
what settings i have to do.
my actual settings are in the screenshots.

What is the link to your site?
hidden link
hidden link

#2220621

Hello and thank you for contacting the Toolset support.

By default WordPress can have the following permalinks:
- Taxonomy term archive: hidden link
- Post type archive: hidden link
- Post single page: hidden link

Currently, you have the archive term for "Romane" at hidden link which cannot be possible without custom code or a 3rd party plugin. Read more about WordPress rewrite rules here:
- https://developer.wordpress.org/apis/handbook/rewrite/
- hidden link

If you want to achieve this permalink structure hidden link you will require custom code or a 3rd party plugin. Check these online threads:
- hidden link
- https://wordpress.stackexchange.com/questions/137579/change-permalinks-for-custom-post-type-based-on-taxonomy-term
- https://wordpress.stackexchange.com/questions/108642/permalinks-custom-post-type-custom-taxonomy-post

Please note that this feature, (Permalink structure), is out of the scope of Toolset plugins. And custom code solutions are out of the scope of Toolset support https://toolset.com/toolset-support-policy/

#2221229

ok i will check ur links.

but i also have the problem that normal links like this:
hidden link
have 404 ... if i deactivate toolset ...it works.

#2221377

For this last URL, I would suspect that you have an existing custom post type with the same slug(impressum). Otherwise, you just need to save permalinks(Settings->Permalinks) twice to flush the WordPress rewrites rules.

If that does not help, check if it happens when:
- Only Toolset plugins are activated. It will tell us if there is an interaction issue with another plugin.
- The theme is set to a WordPress default like Twenty-Twenty. It will tell us if there is an interaction issue with your theme.
If the problem disappears, start activating one at a time to track where the incompatibility is produced. This way, we can detect which element is creating this conflict with Toolset.

I'll remain at your disposal.

#2222071

Hi Jamal

I did all what u mentioned ... i set to default theme and delete all what i did in Toolset ... Post types, Templates, etc …
Deactivate all Plugins, save permalinks more time ... etc …
But not work ...
Only if i disable toolset types ... it works.

#2222093

Would you allow me temporary access to your website to check this closely? Your next reply will be private to let you share credentials safely. ** Make a database backup before sharing credentials. **

I might need to take a copy of the website for further debugging in my local dev environment, is that fine with you?

#2222221

Thank you for the credentials. I was able to login and locate the cause of the issue. It turns out to be caused by the rewrite slug that you configured on the custom taxonomy "Text-Kategorien". After disabling it the issue for the "/impressum/" page was fixed. Check this screenshot hidden link

I don't think that a "/" in the rewrite slug setting is correct, it must be a word, or a list of words separated by "/" such as "text/categories/rewrite" which will produce term archive urls such as "text/categories/rewrite/{term-slug}".

I hope this helps. Let me know if you have any questions.

#2222233

My issue is resolved now. Thank you!