Redirecting images on a subsite
-
I have a blog that I’m trying to redirect some of the blog.dir images to another domain, but through the magic of ms-files.php and blog.dir it doesn’t look like any of the htaccess files I’m adding are being respected.
example:
I would like to forward
https://www.example.com/files/2018/05/smiley-face-wallpaper-12340-12727-hd-wallpapers.jpg
to
https://img.example.com/files/2018/05/smiley-face-wallpaper-12340-12727-hd-wallpapers.jpgI already have an htaccess file doing redirects if the referring site isn’t my own, but putting that same htaccess file (or any test htaccess file) in the blog.dir directory tress makes no changes to the files. I even tried to just prohibit loading of any files at all from htaccess and that didnt’ work either, so I’m thinking that since the files are being loaded through ms-files.php the htaccess files are not being considered.
How do I redirect images in the blog.dir director to another url?
- The topic ‘Redirecting images on a subsite’ is closed to new replies.