I’ve come across this problem several times now with EE websites. There will be some relative path that is working just fine, and then I change some seemingly unrelated thing and now the relative path doesn’t work and I have to put {site_url} in front of all the paths. This happened recently after adding the lg-htaccess extension.
src=“photo-gallery/...” was working, but now it doesn’t work and I need to change them all to ...
src=”{site_url}photo-gallery/...”
Any thoughts or suggestions about what the best practice and most consistent syntax should be?