after latest update, cms is not working for multi sites

Help for integrating the Laravel package
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
User avatar
VirtualSpy
Advanced
Posts: 122
Joined: 05 Jul 2022, 07:55

Re: after latest update, cms is not working for multi sites

Post by VirtualSpy » 18 Oct 2022, 13:48

aimeos wrote: 18 Oct 2022, 12:09 OK, the "/p" prefix isn't the problem in your case because it's only for pages created by the page controller.

If you use a multi-sites and/or multi-locale setup and want to add CMS content to any URL (and "cms/page" output is used in the Blade templates), you have to use the full URL for that pages in the URL field of the CMS module, e.g. for the home page:

Code: Select all

/en/default	(locale and site)
/default	(site only)
/en		(locale only)
Thank you so much for your precious and helpful response

Post Reply