Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted July 4, 20168 yr Hey all, I am fairly new to nginx and I am having issues figuring out FURL with nginx. I have tried: location / { try_files $uri $uri/ /index.php; } location ~^(/page/).*(.php)$ { try_files $uri $uri/ /index.php; } BUt ngix won't restart Also tried: # Friendly URL "rewrite" rules location / { try_files $uri $uri/ @ips; } No luck What I am doing wrong. All I want is to not see the index.php? in the url. Steph
July 5, 20168 yr Author Well I managed to fix it and get it to work with this: location / { try_files $uri $uri/ /index.php?$args; } But I had to remove this line to get it to work: location / { try_files $uri $uri/ =404; } Does that make any sense to someone with more nginx experience then me? Steph
Archived
This topic is now archived and is closed to further replies.