Ok,
I don't really understand such things as .htpaccess
(wife tried to explain it to me but Im lost.)
The big thing what I'm trying to do is prevent escort review sites from being able to link to my page.
How do I do this?
Thanks
Hammy
Ok,
I don't really understand such things as .htpaccess
(wife tried to explain it to me but Im lost.)
The big thing what I'm trying to do is prevent escort review sites from being able to link to my page.
How do I do this?
Thanks
Hammy
do you mean link to the page itself or to images on the page?
I'd not be upset if they were linking to the page itself, that'll help your SERP (search engine ranking position) but if images that's different.
for images to not be hotlinked you put this code into a text file called htaccess... you upload it in ASCHI and you make sure it is called simple
.htaccess
(make sure you have the dot before the word)
that's really all there is to it.Code:RewriteEngine On RewriteCond %{HTTP_REFERER} !^http://(www\.)?your site name.com/ [NC] RewriteCond %{HTTP_REFERER} !^$ RewriteRule \.(jpe?g|gif|bmp|png|pdf)$ - [F]
hth
Ian
Webmasters: Add Custom Stories To Your Sites Custom Gay Stories
My Blogs Gay Talk, Free Gay Fiction, Erotic Fiction Online
Are the other sites linking to your images? or just linking to your pages?
(Also what is the site written in?)
in php (and I am sure asp) you can check the referrer.. and if the visitor
came from a page not on your domain (or google, yahoo, etc).. you can redirect them to the home page.. make 'em work for it..
If this is the case.. let me know.. I will post some code..
one quick comment on gaystoryman's .htaccess code...
DOUBLE check to make sure it is called .htaccess in your server rather than htaccess.txt which notepad will do. just rename it on the server side and you're ready to go
Wow!!!
You guys are absolute gurus!!!
I wish.
I had a 1/10th of your talent because I would have my website done. Instead of just a page or two I'm working on for escorting.
I mean this sincerly because I'm quickly becoming an old "fart" with out-dated computer skills.
This link will help you! It will generate the .htaccess file for you.
Very helpfull tool!
http://www.htaccesstools.com/hotlink-protection/
Let me start by saying that you guys rule! I truely appreciate the help.
And if I can be so bold as to ask one more question.
How do I disable right click? I want to keep people from being able to steal my photos.
Bookmarks