5.5 Update breaks custom page parameters
-
I have a list of courses that are stored in a separate database. I’m showing the details of a course with a page
/course/
that has the course ID added as a PHP parameter:/course/?ID=12345
The page template then contains code to retrieve the course details and show them on that page.
To get pretty URLs I have a RewriteRule in my .htaccess:
RewriteRule ^course/([\d]+) course/?ID=$1
After Updating to WordPress 5.5 this doesn’t work anymore. Now every request to
/course/12345
results in a 301 redirect to/course/
, with the ID gone.I ruled out Apache as the cause, since the exact same setup works fine when I use it outside of WordPress. Looking through the release notes of 5.5 I noticed that the function
redirect_guess_404_permalink()
has changed, but commenting out the new code parts didn’t help either, so I guess I’m on the wrong track here.Is there any other change in WordPress 5.5 that could result in this change?
- The topic ‘5.5 Update breaks custom page parameters’ is closed to new replies.