04.09.2019 at 20:32 #170
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 removed
mycpt-1/mycpt-1-1/mycpt-1-1-1 404 not found
Could you please help me?04.09.2019 at 20:54 #172
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/test-2-2/test-3/04.09.2019 at 21:25 #174
Yes 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 #178
ok, 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 URL
2. you can give me temporary access and I can quickly debug it manually04.09.2019 at 22:53 #185
Unfortunatly I can’t grant you access.
But maybe thoses result coul help you :
I uncheck the option to see what debug return
Level 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 #187
Yes, 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 else
Or 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 #19005.09.2019 at 11:44 #194
SOLVED IN VERSION 5.0
- You must be logged in to reply to this topic.