Jump to content
xt:Commerce Community Forum
Sign in to follow this  

Sitemap splitten

Recommended Posts

Hallo miteinander,

folgender Code exportiert mir ganz brav die Kategorien und Produkte. Leider bemängelt dann aber Google, dass die Sitemap zu gross (>50'000) ist.

Weiss jemand wie ich den Code anpassen muss, damit ein Split der Sitemap möglich ist?


$added = false;

if (!$added) {

global $db;

$rs = $db->Execute("SELECT * FROM xt_seo_url WHERE link_type=2");

while (!$rs->EOF) {

echo '<url>


<lastmod>'.date('c', time()).'</lastmod>















Vielen Dank für Eure Hilfe


Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Create New...