New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Nginx URL rewrite help.
Hi, first of all happy new year to all. I got rewrite problem while migrating my website from apache to nginx. I figure out how the remove php extension but can't understand how to add following one to nginx. it's great if you can help me.
RewriteRule . index.php
how to convert this to nginx configuration file
Comments
try this
try_files $uri $uri/ /index.php?$args;
try http://winginx.com/en/htaccess
I got this two in my website config and pretty url's work pretty fine for me:
put them under location /
it's working, thanks man