A valid sitemap doesn't need to have an .xml extension - what it does need, though, is to return the content as a valid XML document with the correct content-type (i.e. text/xml)
yes, right.
I also showed these two links to my client saying that .xml is irrelevant.
https://codeshare.co.uk/xmlsitemap
https://codeshare.co.uk/robots.txt
any way to rewrite the url for a page ?
Hi , guys,
umbraco saves my page name "sitemap.xml" name as "sitemapxml" thus the url will be http://www.mydomain.com/sitemapxml. http://www.mydomain.com/sitemapxml is pulling some dynamic data from CMS.
How can I change it to http://www.mydomain.com/sitemap.xml ?
Thanks,
A
Hi Adrian
Use rewrite rule for this case:
Alex
Yes right.
But I need to install this https://www.iis.net/downloads/microsoft/url-rewrite first then the rewrite rule will be working in localhost while Azure is working without installing it.
Thanks,
A
A valid sitemap doesn't need to have an .xml extension - what it does need, though, is to return the content as a valid XML document with the correct content-type (i.e.
text/xml)
https://webmasters.stackexchange.com/questions/49589/sitemap-xml-file-extension-does-it-have-to-be-xml
yes, right. I also showed these two links to my client saying that .xml is irrelevant. https://codeshare.co.uk/xmlsitemap https://codeshare.co.uk/robots.txt
But they still insist needing that .xml lol.
Thanks anyway.
A
This is how i do it:
Yes it works.
Thanks,
A
is working on a reply...