Forum Moderators: phranque

Message Too Old, No Replies

Avoid .tk domains

         

Blade_Stom

8:02 am on Oct 9, 2009 (gmt 0)

10+ Year Member



I have found in the Internet that some users of my webpage has created .tk domains, for example http://#*$!x.tk that links to some part of my webpage, for instance to: www.example.com/jjj/pppp

What I would like to do is the following:
-When a user types http://#*$!x.tk, my server should notice that and make a REAL redirect to www.example.com/jjj/pppp, removing everything around .tk domains.

How could I do that?

[edited by: engine at 8:26 am (utc) on Oct. 9, 2009]
[edit reason] examplified [/edit]

g1smd

1:38 pm on Oct 9, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Is your site shown in a FRAME on their domain?

If so, you need a different method.

jdMorgan

1:40 pm on Oct 9, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The problem is not explained clearly enough to allow me to answer.

I suspect you may be talking about 'hotlinking' here, but without knowing the full meaning of "links to example.com/jjj/pppp" it's impossible to be sure. What, specifically, is the object at "/jjj/pppp" and how is it being referenced on the .tk site(s)?

Jim

Blade_Stom

7:20 pm on Oct 9, 2009 (gmt 0)

10+ Year Member



As g1smd said, my site is show in a frame. I know how to make a redirect using javascript but I would like to know if there would be a method to do that using apache or PHP so that Google knows it. If I did it using javascript, Google wouldn´t know that www.#*$!.tk is loading my WebPage.

....?

g1smd

9:13 pm on Oct 9, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Javascript frame-buster is the solution if it is in frames.

Code to redirect URLs requested at the other site, needs to go on the other site, so this isn't an option.