Hi
Friendly addresses.
In Apche I used .htaccess and wni the entry
RewriteEngine On
RewriteRule ^ Home $ index.php? Str = home [L]
RewriteRule ^ Contact $ index.php? Str = contact [L].
On the page, the links looked like this:
<li> <a href="Home"> Home </a> </li>
<li> <a href="Contact"> Contact </a> </li>.
How to do it in Nginx?
Friendly addresses.
In Apche I used .htaccess and wni the entry
RewriteEngine On
RewriteRule ^ Home $ index.php? Str = home [L]
RewriteRule ^ Contact $ index.php? Str = contact [L].
On the page, the links looked like this:
<li> <a href="Home"> Home </a> </li>
<li> <a href="Contact"> Contact </a> </li>.
How to do it in Nginx?