Sitemap Job is not working correctly

Questions around the TYPO3 integration and plugins
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Dennee
Posts: 2
Joined: 09 May 2022, 13:24

Sitemap Job is not working correctly

Post by Dennee » 02 Aug 2022, 06:52

Hello,
I have two problems with generating sitemaps for aimeos in typo3.

1. The sitemap urls are wrong. I use aimeos in a subdirectory /products and all of the urls are build from the root directory
2. The sitemaps are compressed in .gz . That way I cant use them. Is there an option to unzip them?

Hopefully someone can provide me with the missing configuration.

For now I just set:
controller.jobs.catalog.export.sitemap.baseurl
controller.jobs.catalog.export.sitemap.location

User avatar
aimeos
Administrator
Posts: 7884
Joined: 01 Jan 1970, 00:00

Re: Sitemap Job is not working correctly

Post by aimeos » 03 Aug 2022, 12:27

Which Aimeos version are you using?

The sitemaps are gzip-ed because they can be very large and the search engines support gzip-ed files. You can usually uncompress them with tools provided by most OS.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

billy678
Posts: 21
Joined: 02 Jun 2022, 15:57

Re: Sitemap Job is not working correctly

Post by billy678 » 10 Aug 2022, 11:34

I tried too. Same result.
I used this advanced scheduler and added the id for the pages.
The sitemaps are generated but the urls are wrong because the detail page is ignored.

User avatar
aimeos
Administrator
Posts: 7884
Joined: 01 Jan 1970, 00:00

Re: Sitemap Job is not working correctly

Post by aimeos » 10 Aug 2022, 11:38

Do you have an example and how it should look like?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

billy678
Posts: 21
Joined: 02 Jun 2022, 15:57

Re: Sitemap Job is not working correctly

Post by billy678 » 10 Aug 2022, 11:50

I added my scheduler config.
My urls in the sitemap currently look like this:
www.domain.com/d/My-Product
The real path is:
www.domain.com/shop/detail/d/My-Product
scheduler_aimeos_sitemap.png
scheduler_aimeos_sitemap.png (91.65 KiB) Viewed 3105 times

billy678
Posts: 21
Joined: 02 Jun 2022, 15:57

Re: Sitemap Job is not working correctly

Post by billy678 » 10 Aug 2022, 12:16

Ok, never mind.
I've added
controller.jobs.product.export.sitemap.location = ../uploads/tx_aimeos/
controller.jobs.product.export.sitemap.baseurl = https://www.domain.com/shop/detail/
and it works!
So you have to use .product instead of .catalog

Post Reply