I’m building modular sites in subfolders (like /live, /event2024, /staging, etc.). Right now, Elements respects my “Web Address” for most things, but critical CMS pages (especially built-in Single Author and similar components) generate links that ignore my subfolder—leading to broken navigation and extra maintenance.
Please add support for {{ site.url }} or the Web Address throughout ALL CMS-generated links and allow us to override the markup in all CMS output, including “Single Author.”
This is essential for modern, modular web design—please prioritize!
(cc @dan@ben)
The CMS will/should work with sub folders, there’s obviously issues with that right now. I’ll have a chat to @ben about this one and we’ll get back to you next week with a plan!!!
Sorry for the slow turnaround time on this, things are a little hectic here as it’s summertime and people are taking time off
@thisisrock I’ve fixed the collection item urls ({{item.url}}) to be correct when publishing your project to a sub folder — the bug here was that the item urls were being hard coded to the root of the server. This should fix the issue you’re having here.
You might still find some links are incorrect (the CMS is very much a beta), if that’s the case then please let me know. Providing an example project and/or live site with the issue would be appreciated