• Resolved mrmrus

    (@mrmrus)


    @florinmuresan.
    Hi Florin.
    Thanks for the plugin, I like it. But I ran into such a problem, Google Search Console does not see my sitemap.xml , although it works.
    In addition, a strange link is also used in GSC, on the sitemap tab /…/feed/ we do not have such a page, and closed any rss/rds/feed

    In the robots.txt GSC sitemap is also spelled out. All possible viruses cleaned 1 year ago.

    Can you see, maybe something to overwrite the definitions that we have inside the code and prevent the display of the sitemap from SQ SEO.

    How can I send you screenshots if you need them?

    Thanks

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Calin Vingan

    (@calinvingan)

    Hi @mrmrus,

    Thank you for the question.

    I tried to access any sitemap and I get the Nginx forbidden error for all.

    Check if you have any security filter in Nginx.conf regarding xml.

    You can also set these rules for Squirrly SEO sitemap in Nginx.conf:

    location ~ ([^/]*)sitemap(.*).xml$ {
      rewrite ^/sitemap.xml$ /index.php?sq_feed=sitemap last;
      rewrite ^/sitemap-posts.xml$ /index.php?sq_feed=sitemap-post last;
      rewrite ^/sitemap-posts.xml\?page=([0-9]+)$ /index.php?sq_feed=sitemap-post&page=$1 last;
      rewrite ^/sitemap-pages.xml$ /index.php?sq_feed=sitemap-page last;
      rewrite ^/sitemap-pages.xml\?page=([0-9]+)$ /index.php?sq_feed=sitemap-page&page=$1 last;
      rewrite ^/sitemap-categories.xml$ /index.php?sq_feed=sitemap-category last;
      rewrite ^/sitemap-tags.xml$ /index.php?sq_feed=sitemap-tag last;
      rewrite ^/sitemap-archives.xml$ /index.php?sq_feed=sitemap-archive last;
      rewrite ^/sitemap-custom-taxonomies.xml$ /index.php?sq_feed=sitemap-custom-tax last;
      rewrite ^/sitemap-custom-taxonomies.xml\?page=([0-9]+)$ /index.php?sq_feed=sitemap-custom-post&page=$1 last;
      rewrite ^/sitemap-custom-taxonomies.xml\?page=([0-9]+)&type=([a-z]+)$ /index.php?sq_feed=sitemap-custom-post&page=$1&type=$2 last;
      rewrite ^/sitemap-custom-posts.xml$ /index.php?sq_feed=sitemap-custom-post last;
      rewrite ^/sitemap-custom-posts.xml\?page=([0-9]+)$ /index.php?sq_feed=sitemap-custom-post&page=$1 last;
      rewrite ^/sitemap-custom-posts.xml\?page=([0-9]+)&type=([a-z]+)$ /index.php?sq_feed=sitemap-custom-post&page=$1&type=$2 last;
      rewrite ^/sitemap-([a-z]+).xml$ /index.php?sq_feed=sitemap-$1 last;
    }
    Thread Starter mrmrus

    (@mrmrus)

    Hi @calinvingan.
    Calin thanks for your reply.
    If you have these rules for htaccess, I will try to apply them.
    Since we are using virtual hosting services, we cannot change the Nginx.conf rules. Only htaccess.
    I also checked the security filters, for xml there are no filters.
    With regards

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Google Search Console Sitemap.xml problem’ is closed to new replies.