Hierarchical CPT

Forums Forums Remove CPT base Hierarchical CPT

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #170
    grumo64
    Participant

    Hi 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 removed

    mycpt-1/mycpt-1-1/mycpt-1-1-1 404 not found

    Could you please help me?

    #172
    kubiq
    Keymaster

    Hello,

    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/

    #174
    grumo64
    Participant

    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.

    #178
    kubiq
    Keymaster

    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 manually

    #185
    grumo64
    Participant

    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
            )
    #187
    kubiq
    Keymaster

    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.

    #190
    kubiq
    Keymaster

    Wait, seriously no other plugin active?
    You can contact me by email @kubiq.sk">info@kubiq.sk

    #194
    kubiq
    Keymaster

    SOLVED IN VERSION 5.0

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.