motostars Posted September 26, 2013 Share Posted September 26, 2013 Hi, can anyone tell me how to redirect ALL hits (image searches etc.) to one of my websites to land on .../index.php of my NEW website? Not just redirect [old]/index.php to [new]/index.php? I'm on a Zeus platform. Please tell me if I need to put code in the index.php or if I need to create a redirect.script file, and what to write in there. Really appreciate it. Nick.C. Quote Link to comment Share on other sites More sharing options...
Drongo_III Posted September 26, 2013 Share Posted September 26, 2013 I might have misunderstood your issue but you can of course use something like .htaccess file to redirect requests for images - or indeed anything else. For example in a .htaccess file: RewriteEngine On redirectmatch .*\.(jpg|gif|png)$ http://www.google.com This will send any request for any file ending in those extensions to google. Very simplistic example but gives the idea. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.