My Sitemap is Not Found

#3953
  • Resolved Ahmad Budairi
    Rank Math free

    I installed wordpress inside sub directory “gambar” and install rankmath SEO on It. When i accessed domain.comgambar/sitemap_index.xml the sitemap is not found.

    Here is block configuration on my nginx server:
    `location /gambar/ {
    index index.php index.html index.htm;
    try_files $uri $uri/gambar/ /gambar/index.php?$args;
    rewrite ^/gambar/sitemap_index.xml$ /gambar/index.php?sitemap=1 last;
    rewrite ^/gambar/([^/]+?)-sitemap([0-9]+)?.xml$ /gambar/index.php?sitemap=$1&sitemap_n=$2 last;
    }`

    Thanks before

    • This topic was modified 4 years, 10 months ago by Ahmad Budairi.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The ticket ‘My Sitemap is Not Found’ is closed to new replies.