@rollin
To hide the original image path using .htaccess, you can use the RewriteRule directive to rewrite the image requests to a different path. Here is an example of how you can achieve this:
1 2 |
RewriteEngine On RewriteRule ^(.+).(jpg|png|gif)$ /path/to/hidden/images/$1.$2 [L] |
Replace "/path/to/hidden/images/" with the actual path to the directory where you want to store the hidden images. This rule will rewrite requests for image files (jpg, png, or gif) to the specified hidden directory.
By following these steps, you can hide the original image path using .htaccess and serve the images from a hidden directory on your server.