My client's site is being being bombarded with thousands of random page requests.

A site I built back in June is being hit with thousands of random page requests which are causing the hosting company to sound alarm bells.

I have amended my robots.txt file to exclude all but Google and Bing bots.

The curious thing is that the page requests all start with the Home page but then have a random added suffix like:

/index.php/book-online/green/blogadmin/gallery/about/pitches-and-facilities/location/

Some of these words have obviously been extracted from the website.

These requests are not ending up at my 404 page. They create an unformed, unstyled sort of page.

Is there a way in htaccess to redirect requests or better still block requests that start with the real home page url but are then suffixed with random strings. An example would be:

Any other thoughts about what I should do to prevent these unwanted visits would be most welcome. The hosting company think that there are upwards of 18,000 of these per day.

15 replies