Skip to main content
Formatting
Source Link
Zistoloen
  • 10k
  • 6
  • 36
  • 59

I would try to get it on this way:.

Firstly ensure, that URLs are "speaking", so e.g. they look like domain.com/category1/item1domain.com/category1/item1, domaindomain.com/category2/item2.com/category2/item2

Then export all existing URLs into different files, which are sitemaps, by sorting URLs alphabetically, so each sitemap file gets URLs from single category (category1.xmlcategory1.xml, category2.xmlcategory2.xml)

It all can be done by simplest PHP-script, which reads all internal URLs and writes them into once created files. You can even create these sitemap-files manually, for each category.

Look here: http://php.net/manual/en/domdocument.save.php

Greets.

I would try to get it on this way:

Firstly ensure, that URLs are "speaking", so e.g. they look like domain.com/category1/item1, domain.com/category2/item2

Then export all existing URLs into different files, which are sitemaps, by sorting URLs alphabetically, so each sitemap file gets URLs from single category (category1.xml, category2.xml)

It all can be done by simplest PHP-script, which reads all internal URLs and writes them into once created files. You can even create these sitemap-files manually, for each category.

Look here: http://php.net/manual/en/domdocument.save.php

Greets

I would try to get it on this way.

Firstly ensure, that URLs are "speaking", so e.g. they look like domain.com/category1/item1, domain.com/category2/item2.

Then export all existing URLs into different files, which are sitemaps, by sorting URLs alphabetically, so each sitemap file gets URLs from single category (category1.xml, category2.xml)

It all can be done by simplest PHP-script, which reads all internal URLs and writes them into once created files. You can even create these sitemap-files manually, for each category.

Look here: http://php.net/manual/en/domdocument.save.php.

Source Link
Evgeniy
  • 10.2k
  • 1
  • 18
  • 49

I would try to get it on this way:

Firstly ensure, that URLs are "speaking", so e.g. they look like domain.com/category1/item1, domain.com/category2/item2

Then export all existing URLs into different files, which are sitemaps, by sorting URLs alphabetically, so each sitemap file gets URLs from single category (category1.xml, category2.xml)

It all can be done by simplest PHP-script, which reads all internal URLs and writes them into once created files. You can even create these sitemap-files manually, for each category.

Look here: http://php.net/manual/en/domdocument.save.php

Greets