How to use mod_rewrite to change external incoming images to local images?

Posted by STRiDOR on Stack Overflow See other posts from Stack Overflow or by STRiDOR
Published on 2009-07-27T18:28:39Z Indexed on 2010/06/07 0:02 UTC
Read the original article Hit count: 119

Filed under:
|
|
|
|

Hi,

I'm trying to figure out how to use mod_rewrite so that I can replace linked images (coming in externally) and use local ones instead.

Why am I doing this? I have a plugin which I'm integrating into my site, which uses ugly external images as buttons, and I want to redo these buttons to match my site. The links come in externally and are not embedded in a plugin php somewhere, so I figure there might be some way of using mod_rewrite to intercept and replace the incoming links.

I hope someone can help, thanks!

© Stack Overflow or respective owner

Related posts about .htaccess

Related posts about mod-rewrite