- Help blocking a stats spammer?
- Posted by Heidi on March 25th, 2006
The stats are not visible to anyone but me but they are still annoying me by
totally screwing with my search stats.
I have so many bogus results in there isn't funny.
This is the page set up they keep hitting:
anypage.php?disp=stats
How can I block them from hitting any page with a ?disp=stats code?
Thoughts?
Heidi
- Posted by Karl Groves on March 25th, 2006
"Heidi" <blackcat2@gmail.com> wrote in
news:IicVf.13011$uX5.10373@tornado.texas.rr.com:
Limit access to that page to only your IP address?
Require login to access it?
Reject acess by their IP address?
--
Karl Groves
http://karlcore.com
http://chevelle.karlcore.com
Accessibility Discussion List: http://smallerurl.com/?id=6p764du
- Posted by Heidi on March 25th, 2006
Karl Groves wrote:
: Limit access to that page to only your IP address?
: Require login to access it?
: Reject acess by their IP address?
:
:
:
: Accessibility Discussion List: http://smallerurl.com/?id=6p764du
What would be the best way to do that though?
Heidi
- Posted by Toby Inkster on March 25th, 2006
Heidi wrote:
It sounds like you've already blocked access to the page -- you just want
to stop *attempts* to access it.
In which case, simply don't link to it. Or if you'd prefer to link to it,
redirect like:
<a href="/private/redirect.php?page=anypage.php&disp=stats">stats</a>
where redirect.php automatically redirects to your stats. Then block
access to redirect.php via robots.txt.
--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact
- Posted by Heidi on March 25th, 2006
Toby Inkster wrote:
: It sounds like you've already blocked access to the page -- you just
: want to stop *attempts* to access it.
Well I did remove the link to it but every site using this blog script uses
that format.
: In which case, simply don't link to it. Or if you'd prefer to link to
: it, redirect like:
:
: <a href="/private/redirect.php?page=anypage.php&disp=stats">stats</a>
:
: where redirect.php automatically redirects to your stats. Then block
: access to redirect.php via robots.txt.
See the biggest problem is that each page that exists or each page I create
will be able to be accessed with
?disp=stats
I was hoping there was something I could write, maybe in a .htaccess file,
which would just deny any visits by anyone
to that for any page that exists now or is created.
Like deny ?disp=stats. I don't know if this makes any sense at all. LOL.
Heidi
- Posted by Heidi on March 25th, 2006
Well I found something in Cpanel which allows me to easily set up permanent
or temporary redirects so I am trying this out to see if it works with two
of the pages.
Of course this isn't as automatic as I would have liked but if it works then
great. =) It redirects any access to a page I specify which has ?disp=stats
attached.
For example:
thispage.php?disp=stats
thatpage.php?disp=stats
Gets redirected to the main site.
I have deleted the search stats spam regarding those two pages so I will see
if they fill up again over the next day or so. If not then I will know it
worked as they hit the site every single day about every 10 minutes. *sigh*
Then I will have to add the rest of the pages as well as any new pages I
create.
The two pages I redirected were two of the most often hit upon so if no more
shows up for those two in 24 hours I will know it worked.
Heidi
- Posted by Heidi on March 25th, 2006
Heidi wrote:
: Well I found something in Cpanel which allows me to easily set up
: permanent or temporary redirects so I am trying this out to see if it
works
: with two of the pages.
:
And now I realize that isn't working as it strips out the ?disp=stats and
just leaves the normal thispage.php
*sigh*
back to the drawing board.
Heidi


