My website is set up for wordpress to be installed in its own subdirectory, but the content is broadcast as it was at the root of the domain.
(This wordpress codex page details the configuration)
So in this case the URLs are rewritten to NOT include
/ wordpress in the URL, it serves pages from (although the URLs of the image make include it:
https://www.example.com/wordpress/wp-content/uploads / ...).
The URL of a page is:
but the link of the image is:
Do I put
sitemap.xml in the "root of the website" directory on my server (
wordpress directory (
I do not find this particular case in research.
Moreover, testing and errors do not help, because I get conflicting results from various sitemap validators and robots.
In addition, it seems that a plugin or part of WordPress insists on creating a virtual sitemap (
sitemap.xml.gz) and robot (
robots.txt), which further exacerbates my efforts to definitively determine the appropriate location to place these files for this common but non-standard installation.