Hi guys,
I’m trying to get sorted a sitemap template for our forums. Has anyone already produced something like this using the exp query tags? I’m just looking for a little advice as to the best way to implement it.
so far I’ve produced the following, however Google just refuses it:
<?xml version="1.0" encoding="UTF-8"?>
<urlset >
{exp:query sql="SELECT topic_id FROM exp_forum_topics WHERE status LIKE 'o' "}
<url>
<loc>http://www.website.com/index.php/forums/viewthread/{topic_id}/</loc>
<changefreq>daily</changefreq>
</url>
{/exp:query}
</urlset>Thanks!
David.