• Resolved lkhlc

    (@lkhlc)


    being used for ‘team’ listings… url is provided with /team/personsname when clicking it a 404 results, when clicking the view option in admin the 404 results, when acquiring the direct link ?p=490 redirects to the 404 result.
    flushed rewrite rules and tried re-saving the permalinks, no luck
    tried using post number which the theme just flat died with as it is all built relative with post titles
    stuck with this and cannot change it so it has to work.. any help will be greatly appreciated and yes i just saw the new posting on the same problem

    https://www.ads-software.com/plugins/custom-post-type-ui/

Viewing 15 replies - 1 through 15 (of 18 total)
  • Thread Starter lkhlc

    (@lkhlc)

    the main ‘team’ listing page works just fine btw

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Do the single team member posts work when you have the permalinks turned off? Ignore the relative links for the moment, just need to make sure they’re queried for properly outside of rewrite rule stuff.

    Thread Starter lkhlc

    (@lkhlc)

    Hi Mike thanks for the reply. Changing permalinks to id results in the main team page The requested URL /team/ was not found on this server. so there are no individual page links to get to, but saving one same as above redirects to ?team= with the post slug and shows the content but of course since the theme is all relevant links nothing else works.. so i tested the generated ?team=slug uri and with permalinks set to post title (slug) it works… /team/ does not results in 404

    Thread Starter lkhlc

    (@lkhlc)

    let me know where in the plugin that uri is generated and i’ll be more than happy to amend it from a category placement /team/ to a variable pair ?team=

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Good, the actual queries are working properly. This means it’s a rewrites issue.

    We don’t do any URI generation ourselves, we simply pass all the provided values from the UI settings into register_post_type() and register_taxonomy(). So the rest is all handled by WordPress core and whatnot.

    What version of CPTUI are you using?

    Thread Starter lkhlc

    (@lkhlc)

    the site is showing it as version 1.1.1
    there has to be a solution here one way or another

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Would you be willing to let me have a temporary admin account to look at things first hand?

    Thread Starter lkhlc

    (@lkhlc)

    certainly would be great i can’t set it up just yet but i will as soon as i can. how do i get it to you?

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    use the email michael @ webdevstudios dot com and it’ll reach me.

    Thread Starter lkhlc

    (@lkhlc)

    on the way

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Have not seen anything show up yet, for your information. I’ve checked spam filter just to be certain as well.

    Thread Starter lkhlc

    (@lkhlc)

    it was sent from the site, thanks for checking in the morning i’ll do it manually for you.. have a great night

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Just checking in here.

    Thread Starter lkhlc

    (@lkhlc)

    see your mail

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Alrighty, here’s what I found with a little bit of poking around.

    You have the custom post type of “team”, but you also have the taxonomy of “teams”. Because of this, and since I wager both are set to have archives, WordPress wasn’t selecting content correctly. From what I found with a plugin called Query Monitor, it was interpreting the URL as a taxonomy term archive, and you don’t have many of those at the moment, certainly not with what you’re wanting out of this.

    https://cloudup.com/c1v4LkR_Pmu

    I temporarily prevented the taxonomy from registering in your functions.php file and the post type URLs started kicking in. So, my recommended course of action here would be to alter the taxonomy slug you’re using to not match so closely, and then try the URLs again.

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘404 again and nothing recommended so far works’ is closed to new replies.