Forum Moderators: phranque
I have a directory from the root of my domain: /img
Under normal circumstances, images are picked up from html using URLs such as <img src="http://domain.com/img/image01.jpg">
Can I setup .htaccess in this subdirectory to return a "default" image if one is not specified: (<img src="http://domain.com/img/">)
Many thanks
Shady!
Sure, it's a simple two-line rewrite, but we try to avoid "write my code for me" threads around here. Why not try it to figure it out for yourself, and post again if you get stuck.
Ref: Introduction to mod_rewrite [webmasterworld.com]
Jim