Softaculous


Topic : Nginx Wordpress Sitemap


Posted By: giocr on September 29, 2014, 10:30 pm
Well this Nginxs is very tricky and frustrating for a new newbie like me, Apache not wants to restart and keeping stuck, Nginx is very confusing, now I got another problem trying to configure just a simple sitemap in my wordpress site, Plugin from Yoast said to add the following lines:

rewrite ^/sitemap_index\.xml$ /index.php?sitemap=1 last;
rewrite ^/([^/]+?)-sitemap([0-9]+)?\.xml$ /index.php?sitemap=$1&sitemap_n=$2 last;

But where?? !! I tried adding in the "extra configuration" tool but nothing happens, ANyone help with this please!!

Posted By: valley on September 30, 2014, 5:35 am | Post: 1
Add the contents to a file (customconf) and include the file to the NGINX server for the domain to be used.

Guide : http://www.webuzo.com/wiki/Add_Extra_Configuration_File

Hope it helps

-----------------------
Webuzo : Single User Control Panel
Join Webuzo :
Facebook
Twitter


Powered By AEF 1.0.8 © 2007-2008 Electron Inc.