cancel
Showing results for 
Search instead for 
Did you mean: 

.htaccess rewrite for nginx

.htaccess rewrite for nginx

i am using nginx for magento. i like to know how to rewrite .htaccess for nginx.  Help highly appeciated.

1 REPLY

Re: .htaccess rewrite for nginx

Nginx doesn't support .htaccess so you will need to convert any and all .htaccess rules to Nginx compatible format and insert it into your Nginx configuration. 

 

I can see a few converter available with just a simple Google search:-

http://winginx.com/en/htaccess

http://www.anilcetin.com/

http://kbeezie.com/apache-to-nginx/

James Lee | Moderator • Magento Master
See My Recommended Magento Hosting & Security Tips