“Cache 404 pages” breaks wordpress url autocorrect
-
In previous versions of w3tc I believe this setting did not break default wordpress behaviour. However, it is breaking wordpress default behavior for auto correcting / redirecting urls.
For example, by default, a link such as mysite.com/privacy-policy/ would auto redirect to mysite.com/privacy-policy-usa/ if privacy-policy was a 404. However, with “cache 404 pages” turned on /privacy-policy/ will return a browser 404, not even showing the normal wordpress 404 page.
To replicate:
- Turn on disk cache basic
- turn on “cache 404 (not found pages)”
- find a post url such as mysite.com/somepost
- delete the last few characters of the url ie mysite.com/somepo
it will return a browser 404 page
Next:
- Turn off disk cache basic
- access mysite.com/somepo
- it will auto-redirect to mysite.com/somepost/
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘“Cache 404 pages” breaks wordpress url autocorrect’ is closed to new replies.