Webinoly is just the perfect tool for NGINX experts. Give it a try!
0 votes
2.7k views
by Rookie
closed by

Hey, i have a little problem my yoast sitemap is not showing just a blank page:

https://escootergate.de/sitemap_index.xml 

I use your latest version, if i remove your yoast seo code in the nginx folder it works but i get no links in my sitemap (https://s17.directupload.net/images/190824/hok5bjj8.jpg)

Thats a little bit strange, maybe you can help me out! :)

Thanks.

closed with the note: Working now
by Expert

This issue was fixed in the latest release (v1.9.0), your sitemap is working fine, it's just the XLS stylesheet not loading because Yoast changed their code without notifying to users.

  • Is your server new (created today with v1.9.0) or do you updated your server today from a previous Webinoly version?
by Rookie
My Server was updated to v1.9.0 today.

Okay there is no workaround for the missing xls stylesheet?
by Expert

Should be working fine, let me check a couple of things, maybe I forgot something in the update process.

Please, can you copy and paste here:

  • File: /etc/nginx/sites-available/domain.com
  • File: /etc/nginx/common/yoast-sitemap.conf
And the most important part, can you see if Yoast code is still in /etc/nginx/common/wpcommon.conf
by Rookie
# WebinolySSLredirectStart - HTTP to HTTPS Redirect

server {

listen 80;

listen [::]:80;

server_name escootergate.de www.escootergate.de;

return 301 https://$host$request_uri;

}

# WebinolySSLredirectEnd

# WebinolyNginxServerStart

server {

listen 443 ssl http2;

listen [::]:443 ssl http2;

server_name escootergate.de www.escootergate.de;

# WebinolySSLstart

ssl_certificate /etc/letsencrypt/live/escootergate.de/fullchain.pem;

ssl_certificate_key /etc/letsencrypt/live/escootergate.de/privkey.pem;

ssl_stapling on;

ssl_stapling_verify on;

ssl_trusted_certificate /etc/letsencrypt/live/escootergate.de/chain.pem;

# WebinolySSLend

access_log /var/log/nginx/escootergate.de.access.log we_log;

error_log /var/log/nginx/escootergate.de.error.log;

root /var/www/escootergate.de/htdocs;

index  index.php index.html index.htm;

include common/auth.conf;

# WebinolyCustom

include common/yoast-sitemap.conf;

# WebinolyCustomEnd

include common/wpfc.conf;

include common/wpcommon-noauth.conf;

include common/locations.conf;

include common/headers-http.conf;

include common/headers-https.conf;

include common/headers-html.conf;

include /var/www/escootergate.de/*-nginx.conf;

}

# WebinolyNginxServerEnd
by Rookie
# YoastSitemapStart - Yoast SEO Plugin

location ~ ([^/]*)sitemap(.*)\.x(m|s)l$ {

rewrite ^(.*)/sitemap.xml$ $1/sitemap_index.xml permanent;

rewrite ^.*/([a-z]+)?-?sitemap.xsl$ /index.php?yoast-sitemap-xsl=$1 last;

rewrite ^.*/sitemap_index.xml$ /index.php?sitemap=1 last;

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

# Following lines are optional. Needed for Yoast Premium.

rewrite ^.*/news_sitemap.xml$ /index.php?sitemap=wpseo_news last;

rewrite ^.*/locations.kml$ /index.php?sitemap=wpseo_local_kml last;

rewrite ^.*/geo_sitemap.xml$ /index.php?sitemap=wpseo_local last;

rewrite ^.*/video-sitemap.xsl$ /index.php?yoast-sitemap-xsl=video last;

access_log off;

}

# YoastSitemapEnd
by Rookie
# WordPress COMMON SETTINGS

# DO NOT MODIFY, ALL CHANGES LOST AFTER UPDATE Webinoly

# Limit access to avoid brute force attack

# https://baraktawily.blogspot.com/2018/02/how-to-dos-29-of-world-wide-websites.html

location /wp-admin {

location ~ /wp-admin/admin-ajax.php$ {

limit_req zone=wp burst=8 nodelay;

include fastcgi_params;

fastcgi_pass php;

}

location ~* /wp-admin/.*\.php$ {

limit_req zone=wp burst=15 nodelay;

include common/acl.conf;

include fastcgi_params;

fastcgi_pass php;

}

}

location = /xmlrpc.php {

limit_req zone=wp burst=8 nodelay;

include fastcgi_params;

fastcgi_pass php;

}

location = /wp-login.php {

limit_req zone=one burst=2 nodelay;

include common/acl.conf;

include fastcgi_params;

fastcgi_pass php;

}

# Disable wp-config.txt

location = /wp-config.txt {

deny all;

access_log off;

log_not_found off;

}

# Disallow php in upload folder

location /wp-content/uploads/ {

location ~ \.php$ {

#Prevent Direct Access Of PHP Files From Web Browsers

deny all;

}

}
by Rookie
For me it seems all okay :) , i also tried anoter sitemap generator same issue blank page. The rest working fine.
by Rookie
Okay i found the issue, its not working with a forcing ssl plugin.
by Rookie
But thanks for the fast support keep it up! :) i love webinoly.
by Expert
By the way, you don't need a plugin to force SSL, Webinoly does it automatically!

1 Answer

0 votes
by Expert
I'm glad you found the issue.

Plugin conflicts are always a headache.

Enjoy Webinoly!
by
Hi guys! Specially registered to say thank you. Your dialogue helped me with the same problem. It was enough to update Webinoly to 1.9.0. Thanks!
Welcome to the Community site for Webinoly.

Our Optimized LEMP Web Server is a powerful set of commands for doing just about anything you could wish.

With Webinoly you can set up your NGINX web server in just one step.

* * * * * * *

To report a bug, please create a new issue on GitHub or ask a question here with the bug tag.
Webinoly Support Paypal Donations

PayPal · GitHub Sponsors · Bitcoin

It is very important that any visitor to the site read the disclaimer, terms of use and privacy and legal statement before start browsing.

...