Khandaker Toihidul Islam
Software Engineer
Backend : PHP | Mysql | Symfony | CakePhp | Wordpress | Drupal
Frontend : Node js | Vue js | React Js | Javascript | HTML | CSS | Bootstrap
Tools , Server : Nginx | Apache | Git | Jenkins | Jira | Asana | Silenium | Spira

WordPress permalink in Nginx server

Step 1. Edit /etc/nginx/site-available/example.com
location / {
try_files $uri $uri/ /index.php?q=$uri$args;
}
step 2 : login to server
step 3. Run this
ln -s /etc/nginx/sites-available/example.com /etc/nginx/sites-enabled/example.com
step 4. Test configuration
sudo nginx -t
step 5. Restart Nginx server
sudo systemctl restart nginx
step 6. Save the permalink from wordpress admin dashboard
*****  Happy browsing **** 

For domain pointing
http://toihid.com/domain-pointing-to-digital-ocean-nginx/

You may also like...

Leave a Reply

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