[wp-trac] [WordPress Trac] #35635: Redirect loop for custom post types in WP 4.4
WordPress Trac
noreply at wordpress.org
Wed Jan 27 19:46:50 UTC 2016
#35635: Redirect loop for custom post types in WP 4.4
--------------------------+-----------------------------
Reporter: standuncan | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Permalinks | Version: 4.4.1
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
I have a client site hosted on WPE that was on 4.3.1 and when I updated to
4.4.1. it now has a redirect loop error (ERR_TOO_MANY_REDIRECTS) when
trying to access a single post page (for a custom post type) from a
category page. What it is doing is trying to redirect without the category
in the the URL and then tries to redirect with the category, and loops;
[[br]]
/%category%/%postname%/ => /%postname%/ => /%category%/%postname%/ => etc.
On my category page a have a list of posts with links with the markup
{{{<a href="<?php the_permalink(); ?>" class="custom">...</a>}}} and my
permalinks setup is "Post name" or ({{{/%postname%/}}}).
I don't know the code causing this so I don't have much info, but with the
assistance of WPE support we confirmed this is due to the WP 4.4.1 update
by cloning versions and updating WP and reverting, etc. Here is
[https://wordpress.org/support/topic/this-webpage-has-a-redirect-loop-43/
another instance I found] as well, but they claim to have reinstalled 4.4
and it fixed it. I tried this several times with no luck.
Note: This is my first time submitting a defect/ticket, so please let me
know if I need to add any other info.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35635>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list