301 redirects doesn’t work with non-existent files

[ad_1]

The .htaccess file rules you posted are the standard WordPress rules except for the last line which sets that environmental variable. So they shouldn’t affect the redirects.

But since you are using NGINX it could have some other rules in it’s own configuration, or maybe the folders you are trying to redirect exist, even though the actual files don’t, and NGINX isn’t loading WordPress from the root folder for those requests.

Either way, the fact that you are seeing a 404 from NGINX means that WordPress doesn’t get loaded and as a consequence the 301 Redirects plugin doesn’t get loaded either so there is nothing we can do 🙁

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer