sitemaps

Post Reply
peter1234
Posts: 8
Joined: Sun Jun 21, 2015 8:56 pm

sitemaps

Post by peter1234 »

Hello,

Is it possible to create a sitemap with the information of each category/page, tags/page and avoid galleries?

example:

<url>
<loc>http://xxx.com/category/4/Big+Tits/ctr/1</loc>
<changefreq>weekly</changefreq>
</url> <url>
<loc>http://xxx.com/category/4/Big+Tits/ctr/2</loc>
<changefreq>weekly</changefreq>
</url>
<url>
<loc>http://xxx.com/tags/tits/1</loc>
<changefreq>weekly</changefreq>
</url>
<url>
<loc>http://xxx.com/tags/tits/2</loc>
<changefreq>weekly</changefreq>
</url>

And so on.

Also, is it possible to create a sitemap index to avoid having a sitemap with thousands of urls?

Thanks.
admin
Site Admin
Posts: 37994
Joined: Wed Sep 10, 2008 11:43 am

Re: sitemaps

Post by admin »

Don't forget to run script update
peter1234
Posts: 8
Joined: Sun Jun 21, 2015 8:56 pm

Re: sitemaps

Post by peter1234 »

<category num=1-100>

<url>
<loc>http://<?=$_SERVER['HTTP_HOST']?>/category/<!--CATEGORY_NAME-->/</loc>
<changefreq>daily</changefreq>
<priority>1</priority>
</url>

How can i add a loop for pages in category name? (same for tags).

Also, the sitemap index is possible?
admin
Site Admin
Posts: 37994
Joined: Wed Sep 10, 2008 11:43 am

Re: sitemaps

Post by admin »

Index - as any other templates, script doesn't know how many sitemap template you gonna have to you have to create links manually

Pages inside categories

http://smartcj.com/wiki/doku.php?id=new ... m_sitemaps

added an example.
Don't forget to run script update
Post Reply