Setting up my first modx site using a staging site. I want modx to rewrite image src paths so that they’re relative instead of absolute so I’m able to move to the production site when I go live!
I choose "Yes" in the misc settings in the Rewrite image paths? setting, click save, refresh the site and it still calls images as
http://www.sitename.com/assets/images/image.jpg. Shouldn’t this be /assets/images/image.jpg with this setting?
I’m using friendly urls - does that make a difference?
I also tried changing the base href from [(site_urel)] to [(base_url)] but that didn’t work either.
I’ve tested it on existing pages and created entirely new pages and still no joy.
Any suggestions?
PS I’ve been using this cms for 3 hours and I’m totally in love!!!