Welcome Guest, Not a member yet? Register   Sign In
.htaccess referrer
#1

[eluser]Unknown[/eluser]
Hi, im struggling with a peice of code here.

I have my image on a forum, and when a user clicks it, it goes to my server and loads my homepage.

I am trying to change the referrer and have been reading up on .htaccess code all day specifically rewriterule, meta refresh and RewriteCond.

Here is my current code:

Code:
RewriteEngine On
RewriteRule 1.jpg http://mysubdomain.mydomain.com [R,L]

What am I missing?

Thank you




Theme © iAndrew 2016 - Forum software by © MyBB