.htaccess technical questions

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

Hello all,

I'm very new to all this so please bear with the newbie questions

I have a blog which gets a lot of referrer spam.

I'd like to find a way to use .htaccess to block them by referrer name.

I'd also be able to use .htaccess to reroute from specific IPs, either
the whole IP or just the first part, such as or  80.  or  134.75.
to a custom error page which will say "If you are a legitimate reader
of my site, please e-mail me at...."

I've seen lots of stuff out there about .htaccess but almost all of
them seem to take down my site!

Thanks much,

Re: .htaccess technical questions

Quoted text here. Click to load it

What is referrer spam? I don't blog so I don't know.

Re: .htaccess technical questions


Quoted text here. Click to load it

 http://www.google.co.uk/search?q=referrer +spam

<http://www.andyhsoftware.co.uk/space Space: disk usage analysis tool

[OT] Re: .htaccess technical questions

Andy Hassall wrote:
Quoted text here. Click to load it

   LOL. Nice humour:)

  <?php echo 'Just another PHP saint'; ?>
Email: rrjanbiah-at-Y!com    Blog: http://rajeshanbiah.blogspot.com /

Site Timeline