Forums › Forums › Remove CPT base › Hierarchical CPT
-
AuthorPosts
-
04.09.2019 at 20:32 #170
grumo64
ParticipantHi there,
thank you for your plugin but I stille have an issue with it.
If I try to remove my CPT base slug in a hierarchical CPT everey works great since the level two but if you have a third level I’ve got a 404 error page.
mycpt-1 it’s ok, slug is removed
mycpt-1/mycpt-1-1/ it’s ok, slug is removedmycpt-1/mycpt-1-1/mycpt-1-1-1 404 not found
Could you please help me?
04.09.2019 at 20:54 #172kubiq
KeymasterHello,
have you tried to check on “alternative children solving” in settings? (/wp-admin/options-general.php?page=remove-cpt-base.php)
Multiple levels works fine for me, as you can see here:
https://wptest.kubiq.sk/epic-movie/
https://wptest.kubiq.sk/epic-movie/test-2-2/
https://wptest.kubiq.sk/epic-movie/test-2-2/test-3/04.09.2019 at 21:25 #174grumo64
ParticipantYes the option is active but I do not understand why the third level fail.
Latest version of wordpress and v4.8 on your plugin.04.09.2019 at 21:53 #178kubiq
Keymasterok, so we have to possibilities:
1. you can download this file https://files.kubiq.sk/remove-cpt-base.zip and unzip it, go to /wp-content/plugins/remove-cpt-base/ on your FTP and rename remove-cpt-base.php to _remove-cpt-base.php or something else and upload there unzipped remove-cpt-base.php
You should also give me your URL and then I will be able to access debug data by adding “?debug” to URL2. you can give me temporary access and I can quickly debug it manually
04.09.2019 at 22:53 #185grumo64
ParticipantUnfortunatly I can’t grant you access.
But maybe thoses result coul help you :
I uncheck the option to see what debug returnLevel 1 :
[query] => Array ( [page] => [name] => paris )
Level 2 :
[query] => Array ( [attachment] => autour-de-paris )
Level 3 :
[query] => Array ( [error] => 404 )
04.09.2019 at 23:06 #187kubiq
KeymasterYes, that’s normal for L1 and L2, WordPress creates ridiculous queries like attachment, categories, etc. but never 404
404 detection runs later, but on your web there is 404 generated very early, so there is something else modifying query.I understand that you can not give me access, but you should setup some demo website where you can replicate this problem and where I can work on it, because I’m not able to replicate this.
I have no idea what plugins you use and what settings you use and as this is a free plugin, I’m not going to spent hours by trying to create some demo website, that will have same error – you have to do it and then I can help you for free
Maybe you can use wpsandbox or something elseOr if you’re skilled programmer you can figure out what plugin is in conflict and then let me know and I will fix it, but I have no information to work with now.
04.09.2019 at 23:11 #190kubiq
KeymasterWait, seriously no other plugin active?
You can contact me by email info@kubiq.sk05.09.2019 at 11:44 #194kubiq
KeymasterSOLVED IN VERSION 5.0
-
AuthorPosts
- You must be logged in to reply to this topic.