Reputation: 190
is it possible to fake the <img>
path ?
For example from:
<img src="/uploads/middle/test.png" />
to:
<img src="/tree/images/test.png" />
Maybe with .htaccess?
greets
Upvotes: 1
Views: 2667
Reputation: 4723
Yes you could use aredirect in your htaccess file.
This way you can use <img src="/uploads/middle/test.png" />
as your path.
And at the back of your website it redirects to /tree/images/test.png
.
Redirect 301 /uploads/middle/test.png http://example.com/tree/images/test.png
Ofcourse you need to change http://example.com/
to your domain.
Upvotes: 2