Page 2 of 2

Re: sitemap error

Posted: Fri May 31, 2013 3:48 pm
by dakini
OMG now this:

XML Parsing Error: not well-formed
Location: http://domain.tld/scj/sitemap.php
Line Number 3, Column 19: <loc>http://<?=$_SERVER['HTTP_HOST']?>/index.html</loc>
------------------^

Re: sitemap error

Posted: Sat Jun 01, 2013 8:05 am
by admin
<?=$_SERVER['HTTP_HOST']?>

you didn't set short tags on.

change <?=$_SERVER['HTTP_HOST']?> to <?php echo $_SERVER['HTTP_HOST']?>

Re: sitemap error

Posted: Sat Jun 01, 2013 11:37 am
by dakini
Done, i made it
It was my mistake because when i searched in php.ini short_open_tag i found it commented, i have uncommented it and set value On but i didnt try to find it again, and now i searched again and found one uncommented with value Off, setted it On and now the sitemap is generating, but i have changed in .htaccess ^gallery/ ... to ^video/ it is possible to set the sitemap with the new value ^video/.. instead of ^gallery/.. because is generating with gallery.

Thank you for your fast support. Best and fasted support i have found here compared to other scripts

Re: sitemap error

Posted: Sat Jun 01, 2013 3:59 pm
by admin
Thank you !

Yes, just edit templates and that's it.