this is for cs-cart RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . index.php?sef_rewrite=1 [L,QSA] i know one rule only try_files $uri $uri/ /index.php?sef_rewrite=1; but i cant open those url with .html Posted at Nginx Forum: http://forum.nginx.org/read.php?2,216707,216707#msg-216707