- Issue created by @drupalfan2
- Status changed to Closed: works as designed
over 1 year ago 6:14pm 20 May 2023 - 🇦🇹Austria drupalfan2
Problem solved:
I re-imported the drupal database from live to local dev and now it is working
:-(
myproject.com/sitemap.xml works without problems on my live server.
I am using a local development environment with docker (docker desktop).
I had to transfer the drupal database of my project from live server to local dev (docker).
I am using 3 languages with url detection.
After importing the drupal database from live server into my local docker database I had to change the language detection on
/admin/config/regional/language/detection/url
because locally I am using .test domains:
myproject-com.test - EN
myproject-de.test - DE
myproject-at.test - AT
After this change my project runs locally without any problems. Language detection is also working.
I download the sitemap files (sites/default/files/xmlsitem/...).
But locally no sitemap is working!
myproject-com.test/sitemap.xml ---> error 404 not found
myproject-de.test/sitemap.xml ---> error 404 not found
myproject-at.test/sitemap.xml ---> error 404 not found
Still error 404 not found after clearing the cache, after rebuilding the sitemap, after running cron job.
No error in error logs.
What can I do? How can I find out what's causing the problem? How can I debug the missing sitemaps?
Thank you.
Closed: works as designed
1.4
xmlsitemap.module
Problem solved:
I re-imported the drupal database from live to local dev and now it is working
:-(