: Nginx server - Wordpress - .htaccess I am running an Nginx server with Wordpress installed on it. The Wordpress installation has an .htaccess file in its root. Now I read that Nginx doesn't
I am running an Nginx server with Wordpress installed on it. The Wordpress installation has an .htaccess file in its root.
Now I read that Nginx doesn't actually work with .htaccess files and using .htaccess with Nginx is wrong.
What file is then Nginx working with, where can I find this file and what should I do with my current .htaccess file as it has quite a bit of info there.
Is there some kind of converter that could convert my current .htaccess file to the one that Nginx would support?
More posts by @Rambettina238
1 Comments
Sorted by latest first Latest Oldest Best
Nginx doesn't support htaccess or any other directory level config file, every config rule are stored in nginx.conf file which you can found in conf directory. And every time you add new rule to this file you have to reload it by command nginx -s reload.
You can use this post provided by nginx official site to convert your .htaccess rule to nginx rules and there is also a tool for this you can find here.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.