[wp-trac] [WordPress Trac] #47927: Nginx Rewrite problems after 5.2.2 was released.
WordPress Trac
noreply at wordpress.org
Fri Aug 23 09:43:48 UTC 2019
#47927: Nginx Rewrite problems after 5.2.2 was released.
--------------------------+-----------------------------
Reporter: mitchellk | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
I've been running WordPress on Nginx for over 2 years without fail.
Exactly on June 18 2019 when 5.2.2 was released large amounts of rewrite
errors popped up on every single site.
This problem was not noticed until a week ago when I got several thousand
errors in Google Search Console that my sites were all giving 404 errors.
None of my nginx virtualhost configs have changed in 2 years and Nginx was
last updated several months ago.
Viewing the pages reported by Search Console as giving 404 showed they all
worked just fine in a browser but in the backend every single pages access
was generating an error in the error.log as follows.
"/var/www/mysite.com/my-pretty-permalink/index.php" is not found (2: No
such file or directory)
I do not use index.php as I have my permalinks structured as
/%category%/%postname%/
But exactly on to the day I updated this error appeared on every single
site.
So /index.php started being tagged onto everything in the backend.
Did something change in any of the changes in 5.2.2 that could have caused
this?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47927>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list