Caterham wrote:yes, you've to change the links pointing to the images etc., but you can also use mod_rewrite to rewrite the image-dir:
If you've example.com/imagesto rewrite eg. example.com/index/images to example.com/images
- Code: Select all
RewriteRule ^.+images/(.*)$ /images/$1 [L]
Bob
Hello Robert,
This is wonderful. The above worked nicely. The only thing I would need to do is place all of my other resources, such as: css, swf, ico, and js files into another directory, perhaps "resources", and then use another line like the one above modified to point to that directory to pull in the files that are not in the images directory.
You should totally right a book! I tell ya, this forum has been such a great resource for mod-rewrites.
Thank you so much again for your help!
-Victor