WordPress.org

Ready to get started?Download WordPress

Forums

Organize Series
[resolved] Organize_series 404 page question (8 posts)

  1. probablepossible
    Member
    Posted 9 months ago #

    When someone clicks on a series list that has no parts in it (because the parts are subscriber only, in this case) the viewer is redirected to the 404 page.

    I've customised my 404 page, but Organize Series doesn't send me to that one. It sends me to the default WP 404 instead.

    How is the 404 function handled in this plugin?

    http://wordpress.org/plugins/organize-series/

  2. Darren Ethier (nerrad)
    Member
    Plugin Author

    Posted 9 months ago #

    404 is handled however your theme's archive pages are handled. Organize Series uses custom taxonomies so whatever theme template file is used by your theme for displaying 404's with a taxonomy archive - that's what's handling the 404.

  3. probablepossible
    Member
    Posted 9 months ago #

    Not in this particular case. When the series is effectively empty, it goes to the default 404 instead of the custom one.
    This is a fake series, doesn't actually exist;
    http://stellaomega.com/series/sib/
    it goes to the custom 404.

    This one is made up of private posts;
    http://stellaomega.com/series/seb/
    There are twelve posts published in the series, but none of them are available to unlogged-in readers.
    It should go to the same custom page, but doesn't.

    Funny, huh?

  4. Darren Ethier (nerrad)
    Member
    Plugin Author

    Posted 9 months ago #

    yeah, but like I said, Organize Series doesn't do any 404 handling or redirects for taxonomy archive pages.

    The ONLY rewrite rules and template_redirects that orgSeries does is for the seriesToc page (the table of contents page that lists all series) as there is no default WP route for something like that. But all taxonomy archive pages are left to WordPress to handle.

    So it's either a theme thing, or another plugin that's causing the problem. But either way, you need to look at whatever is handling 404's for archive pages that DO exist but have content that is restricted.

    What I can tell you is this tho.

    1. http://stellamoega.com/series/sib/ is returning a 302 code to the browser (which redirects obviously to your custom 404 page)
    2. http://stellaomega.com/series/seb/ is returning a 303 code.

    Something you can do to verify this isn't an Organize Series problem. Create a category, but assign only restricted posts to it. Then go to the archive page for that category. I predict you'll see the same problem.

  5. probablepossible
    Member
    Posted 9 months ago #

    Will do-- Thank you so much. I really appreciate your patience in explaining this to me :)

  6. Darren Ethier (nerrad)
    Member
    Plugin Author

    Posted 9 months ago #

    I should add. If the little experiement with the categories *doesn't* work as expected, then my next suspect would be that whatever plugin you have handling post restriction is not handling custom taxonomies.

  7. probablepossible
    Member
    Posted 9 months ago #

    Darren, that turns out to be the case, and I am going to look for a different plugin.

    Or maybe htaccess?

  8. Darren Ethier (nerrad)
    Member
    Plugin Author

    Posted 9 months ago #

    if you know enough .htaccess go for it. Tricky tho.

Reply

You must log in to post.

About this Plugin

About this Topic