Check your rewrites to make sure it follow this
if (!-e $request_filename) {
rewrite ^/[_0-9a-zA-Z-]+(/wp-.*) $1 last;
rewrite ^/[_0-9a-zA-Z-]+.*(/wp-admin/.*\.php)$ $1 last;
rewrite ^/[_0-9a-zA-Z-]+(/.*\.php)$ $1 last;
}
not this
if (!-e $request_filename) {
rewrite /wp-admin$ $scheme://$host$request_uri/ permanent;
rewrite ^(/[^/]+)?(/wp-.*) $2 last;
rewrite ^(/[^/]+)?(/.*\.php) $2 last;
}
Related Posts:
- Changing permalinks gives me 404 errors on nginx
- Setting 404 page in Nginx
- How to remove the index.php in the url?
- Homepage loads but all permalinks are 404 when using nginx & PHP-FPM
- nginx – permalinks with .php in url not working
- Enable Minify in W3Total Cache using NGINX [closed]
- How to get blog id from permalink?
- Permalinks keep reverting to 404 unless I re-save them
- WordPress installation in subfolder not working with nginx
- Multisite Network: How to change permalink structure programmatically on new blogs
- WordPress blog posts permalinks giving 404 on nginx
- Why wordpress multisite root site showing blog prefix by force?
- Create unique alphanumeric ID on wp_insert_post
- After updating to 4.8 permalinks will not work (all 404)
- Server Move: All pages leading home
- WordPress Permalinks & Nginx Rewrite Rule Not Working
- How do I fix permalink and media library issues on a LEMP stack?
- Nginx Rewrite Rule:: index.html added to every permalink
- WordPress post-name permalink redirects to site.com
- NGINX serve WordPress from sub-path fails with 404, how to fix?
- How to eliminate permalink prefix in WordPress Multisite
- After updage wordpress 4.4 to 4.5 nginx config works not properly
- Nginx url rewrite rule problem
- Is it possible to install WordPress Multisite on a subdomain with subdirectories?
- Some permalinks are not working and show 404
- Multiple sites with pretty permalinks with nginx
- flush_rewrite_rules on MultiSite
- WP Multisite Subdirectory Custom Permalinks 404
- Redirect old /%category%/%postname%/ to just /%postname%/
- Change permalink structure in all sites of a multisite
- WP permalink working, but why content doesn’t display
- 404 on wordpress multisite Permalink pretty URLs
- WordPress Multisite ABSPATH and get_home_path() to check for htaccess or web.config file
- permalinks constantly needs re-saving
- In a multisite, how can I get posts from one site and display their permalinks in another site?
- Disable “similar permalink” redirect [duplicate]
- Parent/Child Relationships with Multisites?
- wordpress admin panel loop on nginx
- WordPress and NGINX – permalinks are not working with ending slash
- ReWrite Permalink to New Permalink Nginx
- How to use ‘blogs.dir’ as media upload instead of ‘uploads’ directory in WordPress multisite setup
- Move WordPress to subdirectory, keep ALL URLs
- ‘post_type_link’ filter not working
- Update URL Snippet to Canonical Permalink URL
- WordPress permalinks Yahoo hosting(no .htaccess allowed)
- How do I turn off 301 redirecting posts (not canonical)?
- Permalink: postname EXCEPT for blog
- %tag% in permalink not working
- Change website URL without breaking links or images? WP 3.3
- How to identifty post from its URL in 404 page?
- Rewrite rule never matching
- Custom url for a single page
- Rewrite-Rules not working on a vhost, everything goes to index.php
- Rewrite URL for results of a custom WP_Query
- Using ‘Primary Category’ in URL
- template_include not loading -instead goes to index.php
- Changes to permalink structure results in 404 error for all pages other than home
- I need a custom permalink for my website
- How to link to “most recent” document in the Media Library?
- Permalinks not working
- Need Help Correct Regular Expression Redirect Code
- issue with setting up permalink programmatically
- changing permalink for custom template in posts of a certain category
- Force wordpress to display page with same url structure as categories
- Do WordPress Permalinks Refer to a Lookup Table in the Database?
- Post preview gives 404 when permalinks are purely date based
- Change Buddypress Admin Profile Page Permalink
- how do links move when I move my site?
- Permalink for PDF of article
- Changed sub-site to its own domain trigger 302 redirects for all page links
- Comment author url link is wrong? How to change from authors/ to author/
- rename ‘page’ URL fragment in pretty permalinks
- Why can’t change the permalink of my page/post?
- Redirecting “wrong” but working links to their canonical URL in order to prevent search engine penalties (e.g. /123/ at the end of URLs)
- WordPress not generating .htaccess but tells me that (Permalink structure updated.)
- Ignore postname in permalink
- how to set up wp in folder within static website?
- WordPress permanent links not working (the weird way)
- Permalink Structure not updating .htaccess
- How to enable %postname% permalinks on Mac?
- How do I rewrite attachment urls when permalink structure contains %category%?
- How to change URL from /%postname%/ to custom-name/%category%/%year%/%monthnum%/%day%/%postname%/
- Permalink prefix change
- why wordpress keeps redirecting to old page after deleting it?
- Permalink structure /page/page/cpt-post gives 404 with pagination
- Changing permalink structure for Posts
- Rewrite posts url as they’re all children of a page
- WordPress permalinks first word title
- I can get the permalink or the excerpt to work correctly, but not both
- WordPress permalink issue on AWS
- Permalink Rewrite with Archive – Archive gets 404
- WP Admin Bar not showing with custom permalink structure for pages
- Automatic -1 suffix being added to the permalinks of a page when the page does not exist
- Why doesn’t WP update my .htaccess file?
- WordPress permalink still not working (error or not understood?)
- Permalink for pages
- Getting the top level permalink using get_post_ancestors()
- What is the issue with our links? It creates a loop
- Strip category base from URL?
- Does the error “A structure tag is required when using custom permalinks.” mean my permalinks haven’t saved?