RealURL in scheduler tasks
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!
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
RealURL in scheduler tasks
Hi Aimeos team,
when using the scheduler task to create a sitemap or export products, the generated links are not rewritten by RealURL, meaning they have lots of parameters etc. How can I use the RealURL generated links?
Platform: Typo3 v8.7.26
Aimeos: 2018.10 (latest)
RealURL: 2.5.0
Set scheduler configuration: plugin.tx_aimeos.settings.client.html.catalog.detail.url.target = X
Regards,
Nils
EDIT: Some additional information - i activated RealURL logging and found the following entries for each product when manually starting an export job:
The url looks good, the regular logs look like this:
There seems to be no difference but the parameter order and the ? at the beginning of the url.
Any ideas?
when using the scheduler task to create a sitemap or export products, the generated links are not rewritten by RealURL, meaning they have lots of parameters etc. How can I use the RealURL generated links?
Platform: Typo3 v8.7.26
Aimeos: 2018.10 (latest)
RealURL: 2.5.0
Set scheduler configuration: plugin.tx_aimeos.settings.client.html.catalog.detail.url.target = X
Regards,
Nils
EDIT: Some additional information - i activated RealURL logging and found the following entries for each product when manually starting an export job:
Code: Select all
Fri, 17 May 2019 09:48:11 +0200 [DEBUG] request="b25b11c11a109" component="DmitryDulepov.Realurl.Encoder.UrlEncoder": URL "?id=15&ai%5Bd_name%5D=Productname&ai%5Bd_prodid%5D=49&ai%5Bcontroller%5D=Catalog&ai%5Baction%5D=detail" cannot be encoded by realurl
Code: Select all
Fri, 17 May 2019 10:28:32 +0200 [DEBUG] request="b5cb32e667890" component="DmitryDulepov.Realurl.Encoder.UrlEncoder": Found speaking url "produkt/d/49/Productname/" for original url "ai%5Baction%5D=detail&ai%5Bcontroller%5D=Catalog&ai%5Bd_name%5D=Productname&ai%5Bd_prodid%5D=49&id=15" and root page id 2 in cache
Any ideas?
Re: RealURL in scheduler tasks
If anybody ever encounters the same problem: Use the "Aimeos shop advanced scheduler" instead of the regular scheduler task template.
Background: RealURL needs the TSFE to be initialized. In the standard scheduler task, Aimeos won't do that, in "advanced mode" (alias Email6-task) it will.
It might be a good idea to add this information here: https://aimeos.org/docs/TYPO3/Install_A ... uler_tasks - I installed Aimeos by this tutorial a few months ago and then added the sitemap task later, of course to the nightly job...
Background: RealURL needs the TSFE to be initialized. In the standard scheduler task, Aimeos won't do that, in "advanced mode" (alias Email6-task) it will.
It might be a good idea to add this information here: https://aimeos.org/docs/TYPO3/Install_A ... uler_tasks - I installed Aimeos by this tutorial a few months ago and then added the sitemap task later, of course to the nightly job...
Re: RealURL in scheduler tasks
Added to the documentation
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,
