Posts

Showing posts with the label permalink

How to setting permalink wordpress on Nginx

Edit file configurasi VHOST , insert this line  : include /var/www/namadomain/htaccess; Create htaccess file in folder /var/www/namadomain/ nano -w /var/www/namadomain/htaccess Insert or paste this code : # SAMPLE # WordPress pretty URLs: (as per dominiek.com) if (-f $request_filename) { break; } if (-d $request_filename) { break; } rewrite ^(.+)$ /index.php?q=$1 last;