How can I rewrite the image paths on my web server?
May 21, 2009 5:09 PM
Subscribe
How can I rewrite the image paths on my web server?
I recently moved a site into a CMS and different web server. The images are in directories like this:
/daily/2009/05/
The web pages sometimes link to images like this:
[img src="/daily/2009/05/"]
And sometimes they link to images like this (without a leading slash):
[img src="daily/2009/05/"]
That worked fine on the old server, but the paths are different in the CMS on the new server. Can I use .htaccess or something to rewrite the paths?
posted by kirkaracha to computers & internet (4 comments total)
posted by bricoleur at 6:48 PM on May 21