Hello All,
I'm not sure if this is the right place to put this, I apologise for it any way.
Okay so here it is, I have a sitemap file sitemap.xml
and I have PHP code inside it. The problem I am having is when adding the following lines:
#AddHandler application/x-httpd-php .php .xml
or
#AddHandler x-httpd-php .php .xml
This forces the browser to download the files, this is not the desired outcome what should happen is apache tells PHP to parse the PHP code in the xml document and then display the results.
Please can someone help me with this.