A question can only have one accepted answer. Are you sure you want to replace the current answer with this one?
You previously marked this answer as accepted. Are you sure you want to unaccept it?
Scalable compute services.
Simple object storage.
Tools & Integrations
Automate your infrastructure.
Connect, share and learn
DevOps and development guides
Questions & Answers
Development and systems Q&A
by Hazel Virdó
I tried to generate a sitemap with Yoast SEO plugin wordpress but is in error, which setting I have to do?
Can you post the exact error that you're getting? Thanks!
Did you add the following config to your Nginx virtual host file:
rewrite ^/sitemap_index\.xml$ /index.php?sitemap=1 last;
rewrite ^/([^/]+?)-sitemap([0-9]+)?\.xml$ /index.php?sitemap=$1&sitemap_n=$2 last;
All right. It worked this way, thank you friend.
Add comments here to get more clarity or context around a question. To answer a question, use the “Answer” field below.