Thanks for your confirmation. I looked at the sitemap index again on your website and see that Google Chrome is showing the following warning in the console:
Unsafe attempt to load URL https://royaldentalcare.pk/wp-content/plugins/wordpress-seo/css/main-sitemap.xsl from frame with URL https://www.royaldentalcare.pk/sitemap_index.xml. Domains, protocols and ports must match.
As you can see, Google Chrome isn’t loading the sitemap XSL stylesheet file from the same domain but with a different variant (with and without www
on it. If you visit the sitemap index without using the www
on the URL (i.e. https://royaldentalcare.pk/sitemap_index.xml), it appears fine as expected.
That said, we recommend you please perform the following steps to have a consistent result all over your website:
- Mkae sure that you have the correct variant set from the WordPress General settings → WordPress Address (URL) and Site Address (URL) fields. It could be either with
www
or without it.
- Once you have the correct URL structure settings in place, make sure that you have a proper redirect in place that would redirect the site from any of the domain variations (i.e. from
www
to non-www
and vice-versa). If you don’t have such a redirect (I see that you don’t), you’ll need to reach out to your web hosting provider to have such a redirect in place on your website.
We hope this helps you to get started on how to troubleshoot and fix the issue on your own!