Sorry for the confusion..my main question is this........
Can you replace the gif, jpg, etc....in the line
RewriteRule \.(gif|jpg)$ - [F]
with a wild card *
Will this work or will it have
an adverse affect on the website?
John Bokma wrote:
> "Apophis" <EMAIL REMOVED> wrote:
>
> > With the .htaccess file you can add
> >
> > RewriteEngine on
> > RewriteCond %{HTTP_REFERER} !^$
> > RewriteCond %{HTTP_REFERER} !^http://(www\.)?mydomain.com/.*$ [NC]
> > RewriteRule \.(gif|jpg)$ - [F]
> >
> >
> > to prevent hotlinking.
> >
> > Can you replace the gif, jpg, etc....in the line RewriteRule
> > \.(gif|jpg)$ - [F] with a wild card * ? Will this work or will it have
> > an adverse affect on the website?
>
> Guess what happens when a visitors clicks a link on a site, and that link
> goes to your site.
>
> Some remarks:
>
> !^http://(www\.)?mydomain.com/.*$
>
>
> 1) don't use mydomain for examples, use example.com (what's in a name)
>
> .*$ means 0 or more characters until the end, this is the same as:
>
> !^http://(www\.)?mydomain.com/
>
> only less noise.
>
>
> --
> John Need help with SEO? Get started with a SEO report of your site:
>
> --> http://johnbokma.com/websitedesign/seo-expert-help.html