hi everyone
is it possible to point images to another website ?
i mean for example:

this domain doesn't host the image > http://domain1.com/image.gif

this domain host the image > http://domain2.com/image.gif

i want when i request ( http://domain1.com/image.gif ) it's point to the image on domain2

is it possible by htaccess ?

Recommended Answers

All 3 Replies

hello ?
any help please ?

i think you can use this,

Options +FollowSymlinks
RewriteEngine on
RewriteRule ^(.+)\.htm$ http://mysite.org/$1.php [R,NC]

this will redirect all *.html requests to http://mysite.org/*.php i think you could can do the same with images...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.