![]() |
|
|||||||
| The Off-Topic Lounge APPROPRIATE FAMILY-FRIENDLY TOPICS ONLY - READ THE RULES! This forum is for posting anything (excluding topics prohibited by the forum rules) that's unrelated to email. General discussions, in other words. |
![]() |
|
|
Thread Tools |
|
|
#1 |
|
Intergalactic Postmaster
Join Date: Nov 2000
Location: Singapore
Posts: 6,762
Representative of:
Killer.kkk.sg |
how to stop people linking to your page?
I am refering to my website. Is there any scripts that will stop others from linking directly to my page? instead they will be directed to my main page and maybe if framed, will be break out.
|
|
|
|
|
|
#2 |
|
Moderator
Join Date: Nov 2001
Location: British Columbia
Posts: 4,098
|
You don't want people to post links to your webpage?
|
|
|
|
|
|
#3 |
|
Master of the @
Join Date: Apr 2002
Location: Chicagoland
Posts: 1,142
|
Or are you talking about "hotlinking" where people link to your images and use up your bandwidth? My website provider prevents hotlinking (I can turn it on or off if I want...I have it on. People can type in http://www.mysite.com/picture.gif but they can't link to http://www.mysite.com/picture.gif
|
|
|
|
|
|
#4 | |
|
Intergalactic Postmaster
Join Date: Nov 2000
Location: Singapore
Posts: 6,762
Representative of:
Killer.kkk.sg |
Quote:
|
|
|
|
|
|
|
#5 | |
|
The "e" in e-mail
Join Date: Aug 2002
Posts: 2,186
|
Quote:
Is that it? |
|
|
|
|
|
|
#6 |
|
Intergalactic Postmaster
Join Date: Nov 2000
Location: Singapore
Posts: 6,762
Representative of:
Killer.kkk.sg |
If my content page is loaded directly at someone else site (not in frames) the page will be reloaded in my frames or visitors are sent to the page on my site or back to my main page.
|
|
|
|
|
|
#7 |
|
The "e" in e-mail
Join Date: Aug 2002
Posts: 2,186
|
If the page is loaded directly, then it's only your site they are looking at. After all, I could do the same thing in one browser simply by choosing to open your link in a new window or new tab. The only difference would be is that my refferer would be local to you.
But what this means is that you don't care about refferer, you want Javascript code to determine if pages that you have put in frames are _TOP and if they are, to reload the frameset. That's pretty standard, if not very user friendly. |
|
|
|
|
|
#8 | |
|
The "e" in e-mail
Join Date: Feb 2002
Location: London, UK
Posts: 4,681
|
Quote:
|
|
|
|
|
|
|
#9 |
|
Intergalactic Postmaster
Join Date: Nov 2000
Location: Singapore
Posts: 6,762
Representative of:
Killer.kkk.sg |
So I guess if there is a code to check like if the prievous page doesn't come from one of my own pages it will be redirected to the home page where it will have a code to break out of frames if neccessary.
|
|
|
|
|
|
#10 | |
|
Master of the @
Join Date: Apr 2002
Location: Chicagoland
Posts: 1,142
|
Quote:
|
|
|
|
|
|
|
#11 |
|
Intergalactic Postmaster
Join Date: Nov 2000
Location: Singapore
Posts: 6,762
Representative of:
Killer.kkk.sg |
It seems that the code which I am using (got the code from the internet) does not work with Tripod....
|
|
|
|
|
|
#12 |
|
Intergalactic Postmaster
Join Date: Nov 2000
Location: Singapore
Posts: 6,762
Representative of:
Killer.kkk.sg |
Is there anyway to know if anyone is linking to your pages??
![]() |
|
|
|
|
|
#13 |
|
The "e" in e-mail
Join Date: Jan 2002
Location: The Netherlands
Posts: 4,112
|
Yep, there is. I'm still not entirely sure what exactly you define as linking, though. You could check the access logs of your webhost to see the Referer fields, if you have access to the logs.
--K |
|
|
|
|
|
#14 |
|
Intergalactic Postmaster
Join Date: Nov 2000
Location: Singapore
Posts: 6,762
Representative of:
Killer.kkk.sg |
Which means if I am using tripod or geocities I have no way of knowing....
|
|
|
|
|
|
#15 |
|
The "e" in e-mail
Join Date: Jan 2002
Location: The Netherlands
Posts: 4,112
|
Indeed... but then again Tripod (etc) aren't really good for professional site design, they're more for personal homepages IMHO.
--K |
|
|
|