Opened 6 years ago
Last modified 6 years ago
#44899 new defect (bug)
redirect_canonical redirects to another URL when it should not
Reported by: | melicerte | Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | critical | Version: | 4.9.8 |
Component: | Canonical | Keywords: | needs-patch needs-unit-tests |
Focuses: | Cc: |
Description
Hi,
on a fresh install of WordPress 4.9.8 :
will be redirected to :
Problem is : it does an 301. And, combined with Facebook mobile on Iphone link to the WordPress, it retries forever. 21 000 hits / 5 minutes on our server. Glad it was strong enough to sustain until we find the bug and temporarily deactivated
redirect_canonical
with :
<?php remove_action('template_redirect', 'redirect_canonical');
Change History (2)
Note: See
TracTickets for help on using
tickets.