Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Try Vanilla Forums Cloud product

In this Discussion

What's the settings for SITEMAP.XML on nginx?

This discussion is related to the Sitemaps addon.

hi Guys, my sitemap dont work on nginx , what did i miss?

Comments

  • semplonsemplon Malang New

    Hello, This is my sites nginx config. try this

            location / {
                    try_files $uri @rewrite;
            }
    
            location = /sitemapindex.xml {
                    try_files $uri @rewrite;
            }
    
            location ~* /sitemap-(.*).xml {
                    try_files $uri @rewrite;
            }
    
            location @rewrite {
                    rewrite ^ /index.php?p=$uri&$args last;
            }
    
    
Sign In or Register to comment.