I’ve added the following to the head of my templates:
<base href="[[++site_url]]"></base>
Now that I’ve done that, I can use relative paths in all of my href and src calls right? My understanding is that this allows for the most flexibility in moving the site to say a different folder or domain.
How exactly does the base statement work though? Is ModX always evaluating the leading "/" in any given path and resolving it to the current site_url? If so I should just make sure to always include the leading "/" in my href and src paths then?
Thanks,
-Brian