Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.

What to put in .htaccess to make URLs look like /123/why-do-birds-sing if I use nginx?

+1 vote
asked Oct 26 in Q2A Core by k-unker

If someone is using nginx + php-fpm, can you please share your .htaccess for making URLs look like /123/why-do-birds-sing ?

commented Oct 26 by arjunsuresh
You don't need to modify .htaccess just that it must be enabled in the webserver.
commented Oct 26 by k-unker
Thanks! It really works without modifying .htaccess
However, I don't see this file at all in the root directory of my website:

root@myserver:/var/www/mywebsite# ls -la | grep -i ".htaccess"

Any ideas why?

p.s. I use nginx + php-fpm if it matters

Please log in or register to answer this question.