Forum for discussing general topics related to Couch.
5 posts Page 1 of 1
How to create a dynamic sitemap by using couchcms' function?

I am normally generate a sitemap in .xml file. How to generate or integrate sitemap by using couchcms? Can I get an example code? I can't find it at documentation...

The sitemap will then submit to different search engine like google.
Please see viewtopic.php?f=8&t=7173

Hope it helps.
Just found this post as well. I think it should worked fine.

But is it necessary to rewrite it?
Code: Select all
RewriteRule ^sitemap.xml? sitemap.php
Only if you want to access the sitemap as '.xml'. This is not necessary though as '.php' extension is also acceptable to Google etc.
ok. Thank you. :D
5 posts Page 1 of 1