[eluser]johncook[/eluser]
Sorry, this code gives me a broken image error. I've decided to go with the following code:
Code:
RewriteCond %{HTTP_HOST} !^www\.criciwiki\.com
RewriteCond %{HTTP_HOST} ^([a-z0-9_-]+)\.criciwiki\.com [NC]
RewriteRule ^images/(.*)$ %1/$1 [NC]
It means the images go in directories in the root directory rather than the images directory. Not ideal but I can't spend the rest of my life figuring out the bloody rewrite rules. Dunno why this doesn't work on my server but does on yours but I deeply appreciate your valiant efforts. Many thanks!!