'Incorrect display of xml file sitemap in browsers(php)
Create sitemap on php language. If don't add element xmlns:xhtml="http://www.w3.org/1999/xhtml" in urlset and xhtml:link after , sitemap is displayed correctly. But If I add a tag xhtml:link, I get the page display as text
My Content-Type in headers application/xml
Have any ideas as resolve this problem?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|