Recent Topics

my website domain thinks my domain it's a referrer

Started by on May 08, 2009 – Contents updated: May 08, 2009

May 08, 2009 22:42    

I swear I searched for this because I remember reading about it before but couldn't find it.

my domain starter showing up as a referrer. So when people visit my home page: http://thechristianalert.org and then go to an article - the main domain shows up as a referrer.

thoughts?

May 08, 2009 23:16

esanchez wrote:

I swear ...

Don't do that. Cuz if you swear G-d will knock you on your a$$ ;)

Wow I haven't had that problem in like a million years. Used to be something I was totally used to "it just happens" from time to time that I used to know a good solution. Back in the day...

Hey does your /conf/_stats.php file have the following in it?

$self_referer_list = array(
	'://'.$basehost,			// This line will match all pages from the host of your $baseurl
	'://www.'.$basehost,	// This line will also match www.you_base_host in case you have no www. on your basehost
	'http://localhost',
	'http://127.0.0.1',
);


That is in 246 and I don't have a 245 handy so I dunno. Anyway that bit might be why I don't have to fight against that issue any more. I seem to recall asking my host if they were responsible due to a change on their end, but - again its been so long - I just don't really know.

Hmmm... I seem to think that even though it said not to I added myself to the "$blackList = array(" in the same file. The last line is a comment that says "add your own..." so I thought I was supposed to add my own domain to it :roll: It might help?

May 08, 2009 23:27

This is what I have now. I just realized I even added my domain name there a while back...


$self_referer_list = array(
	'://'.$basehost,			// This line will match all pages from the host of your $baseurl
	'://www.'.$basehost,	// This line will also match www.you_base_host in case you have no www. on your basehost
	'http://localhost',
	'http://127.0.0.1',
	'http://www.thechristianalert.org',
);

Don't do that. Cuz if you swear G-d will knock you on your a$$

Point taken. No more swearing on this side...

May 08, 2009 23:47

Okay so it *should* have already been able to figure out that your domain is a self-referrer, which means it shouldn't be listing you as a referrer. You could try adding it to the blacklist array section even though that isn't supposed to be needed.

Also consider asking your host if they changed something recently that might explain this behavior. Dunno about other hosts, but the one I use is pretty good about answering questions that seem specific to a particular application like this would be. Something like "my blog app has stats and a way to not consider me a referer but recently it started doing it anyway" with a date if possible. Depends on how nice the host is if they'll even try to answer eh?


Form is loading...

Content Mangement System – This forum is powered by b2evolution CMS, a complete engine for your website.