Remove the 'fastcgi_intercept_errors'
argument from you configuration. It’s unnecessary since 'error_page'
declares 404 errors, which should be handled by index.php
, which will trigger PHP-FPM
to handle it, and WordPress to present your theme’s 404 page.
It seems counter-intuitive, but 'fastcgi_intercept_errors'
is actually causing PHP not to handle the error page.
Related Posts:
- Changing permalinks gives me 404 errors on nginx
- Homepage loads but all permalinks are 404 when using nginx & PHP-FPM
- Permalinks keep reverting to 404 unless I re-save them
- Nginx Rewrite Rule:: index.html added to every permalink
- WordPress post-name permalink redirects to site.com
- Permalink Doesnt Work – URL Not Found
- WordPress keep redirecting me to random URLs
- After server migration only the homepage works
- Including category-base in a post permalink results in 404
- WordPress thinks my custom route is a 404
- nginx – permalinks with .php in url not working
- removed index.php now all pages 404
- Enable Minify in W3Total Cache using NGINX [closed]
- Permalinks Structure and 404 Question
- Attachment page 404 not found when image is attached to post
- After moving from subdirectory to home, home page does not display
- Changes to permalink structure results in 404 error for all pages other than home
- permalink changed, now getting 404 for every pages
- Permalinks broken regularly
- 404 Page Not Found for Only One Post
- WordPress installation in subfolder not working with nginx
- Clean install – Changing permalinks in twentyeleven give 404
- Permalink change made author archive vanished
- Permalinks okay some pages but 404 error on others
- AWS WordPress Install – pages/posts 404 on restart until updating permalinks
- WordPress blog posts permalinks giving 404 on nginx
- WordPress 404 in development area
- Permalinks by page/post name returning 404
- After updating to 4.8 permalinks will not work (all 404)
- Custom Permalink
- Editing Pages Give 404 Error After WordPress Upgrade in Admin Panel
- page nested 3 levels deep shows 404
- WordPress Permalinks & Nginx Rewrite Rule Not Working
- Changing the post date without causing 404 error
- How to make /search/ without parameters not return a 404?
- 404 Error Problems with sCategory Permalink plugin
- Why does the ‘Month and Name’ Permalink Format not Work on my new WordPress Site (running on IIS7)?
- WordPress Pages Redirecting to Root with WordPress Multisite (Sub-Directory)
- NGINX serve WordPress from sub-path fails with 404, how to fix?
- Edit page slug after save, cause 404 by linked pages
- After updage wordpress 4.4 to 4.5 nginx config works not properly
- Unable to get /%postname%/ permalinks working, 404 on all links
- Permalinks stopped working – NO update, mod_rewrite enabled, .htaccess not touched
- WordPress can generate numeric permalinks, which then 404
- Nginx url rewrite rule problem
- Custom permalink structure gives 404
- Accessing Subdirectories in WordPress Install
- Post preview gives 404 when permalinks are purely date based
- WordPress suddenly changed all links to example.com/example.com/
- Resolve 404 on posts without category
- Visiting posts results in 404 errors after host migration
- How do I change the permalink structure without getting 404s?
- 404 on internal pages, in all sites in my local server
- Home page Pagination – Other pages do not redirect to home page template
- WordPress pages and posts are redirecting to server IP address instead of domain URL [closed]
- Page redirect to 404 when set Permalink = “Post Name”
- Fix 404 error after changing permalink structure
- WordPress Permalinks 404 bug with “next” button
- how to set up wp in folder within static website?
- permalink and add_rewrite_rule – error 404
- using wp_redirect to redirect to a permalink
- old permalinks not found
- The requested URL was not found on this server [closed]
- Multiple sites with pretty permalinks with nginx
- WP-e-commerce (getshopped) – Annoying permalink issue [closed]
- Browsing to permalink prefix results in 404
- Problem with special character WordPress
- Undefined variable: testimonial in D:\Projects\PWP-WP\wp-content\themes\blankslate-child\template-parts\fields\flex\bottom-page-block.php on line 123
- Xampp 7.3.3 fresh install of WordPress 404 pages unless permalink is set to plain
- Fatal Error when trying to load Permalinks page on WP admin [closed]
- WordPress /page/2 gives 404 when custom permalinks is set to %category%%postname%
- Redirect old /%category%/%postname%/ to just /%postname%/
- Custom structure permalink preventing 404
- Extending page urls without getting a 404
- WP permalink working, but why content doesn’t display
- I have a 404 error on all my pages! What do I do?
- Giving specific category posts its own permalink structure returns 404
- 404 on pretty permalinks when serving via HTTPS
- 404 error on published page with specific permalink
- permalinks constantly needs re-saving
- Custom permalink gives 404 error only in some pages
- Woocommerce product page 404 not found
- Every sub page shows Error 404, i have check permalink but still same issues
- Remove Permalink of certain posts
- WordPress and NGINX – permalinks are not working with ending slash
- wp_dropdown_categories links 404
- How to solve 404 permalink errors on nginx server
- HTTPS permalinks resulting in 404
- Permalink Rewrite with Archive – Archive gets 404
- Change the permalinks structure
- When using number in url it is redircting to same page but when using character it redirects to 404
- Page_link change
- Accidentally changed the permalink structure
- Although rewrite engine is on, I get 404 not found on every page
- ReWrite Permalink to New Permalink Nginx
- Only homepage working correctly, 404 error on everything else
- 404 error on second page load for child-pages
- My wordpress site must be being affected by outside sources [duplicate]
- Parent pages not found with pretty permalinks
- WordPress Permalinks 404 Not Found