Tutorials

:: Nginx: wordpress permalinks

:: How to setup wordpress permalinks on nginx
+ edit virtualhost file

vi /etc/nginx/vhost/blackonsole.org.conf

+ add wordpress permalink setup on location / {}

location / {
..
try_files $uri $uri/ /index.php;
..
}

+ testing configure and reload nginx

nginx -t
nginx -s reload

 
:: Links
+ Google
+ Stackoverflow

Hi, I’m Sysadmin.ID

Leave a Reply

Your email address will not be published. Required fields are marked *