Can anyone please tell me how to setup htaccess in nginx? I have a php script and htaccess is not working on nginx.
In rewrite I can see that a link is embedded to Apache to nginx. I opened the link and pasted my htaccess and converted. Now where should I put this converted code? If I am doing wrong then please describe steps to how to setup htaccess code in nginx. Thank you
nginx htaccess setup
under website -click one your domain - then URL rewrite option and paste it under current and save and restart nginx
if its wordpress there is already template for it.
a year later
Login to panel > website > Select site name/domain > URL rewrite > select wordpress from dropdown > save