Sitemap url redirects to homepage

Hi i have been having issues with my sitemap have been told that it can have something to do with my dns or cache. I have purge the cache and checked dns but still if i try to reach my sitemap https://www.beautastiq.nl/sitemap.xml
I can’t reach it only way is https://www.beautastiq.nl/?sitemap=1

Does anyone know how to fix this?

The redirect is being made by Wordpress, not Cloudflare, so check there…

curl -I https://www.beautastiq.nl/sitemap.xml
HTTP/2 301
date: Mon, 22 Apr 2024 09:50:39 GMT
content-type: text/html; charset=UTF-8
location: https://www.beautastiq.nl/
x-redirect-by: WordPress
set-cookie: wcpay_currency=EUR_1; expires=Mon, 22-Apr-2024 10:50:39 GMT; Max-Age=3600; path=/
set-cookie: wcpay_currency=EUR_1; expires=Mon, 22-Apr-2024 10:50:39 GMT; Max-Age=3600; path=/
vary: User-Agent
cf-cache-status: DYNAMIC
report-to: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v4?s=9nyh4coM9DKlgADMugT1zQnhtiG3pg0cxb8fwSQBr%2Ff3wG0ZRajf5lR4ZASBte4MT7kuoj5WYBbsLlURfxhxXV8Z1MPCSxnoQNUuLuMqkDFyGp%2FYBIK7zGTAhYxVi9ZnzHwY%2B2bfSXvN%2BHb6eaLZzg%3D%3D"}],"group":"cf-nel","max_age":604800}
nel: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
server: cloudflare
cf-ray: 8784b5e6deae23ad-LHR
alt-svc: h3=":443"; ma=86400
2 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.