Expert question

Started on the old forum in January 2011 · view the original in the archive · old links redirect here

5 replies · 479 views · started 15 years ago · 1 min read

5 participants
haraldl Junior · 33 posts #1

Hi coding talkers,

someone knows a way to find out wich domain redirects to another?


case 1 :

i don´t own this sites..

site b redirects to site a via 301 htaccess

my prob is..site b is not listed on any search engine. It just redirects to site a .I know only site a .


case 2 i own my site but someone is redirecting his site to mine via 301 htaccess does the bot tells me where he came from?(referer?) any way to find out ?

i know case 2 can be solved with google webmaster tools...But i want to know how it works.

any idea?

frostymarvelous Senior · 266 posts #5

You can try getting http_referer from visitors and storing it. Later on check the stored referer and you might notice a trend. This is not a sure way though as people might not send the referer

Perfection comes at a cost

I accept liberty!

wap2k Developer · 168 posts #6

The use of the HTTP Header field HTTP_REFERRER may be useful in this case. You could maybe install a simple script to log all incoming referrers to a certain script (Home Page). If you are you are using the Control Panel from cPanel OR Parallels Plesk Control Panel most of these come with built in site statistic tools (AWStats, Webalizer); If you have these tools turned on they usually log the HTTP_REFERRER of site visitors.

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close