I am trying to use htaccess redirection to a file but cannot get the image to display.
I want to redirect any request to mydomain.com or www.mydomain.com to www.mydomain.com/test.html
This is the contents of my htaccess file:
I have this line of code in the test.html file:
<img src="image.png" alt="My Image">
But the image doesn't display at all, I just get a broken image. I also tried using the absolute path for the image, the same thing.
source share