Heaps of Bots Attacking Website Constantly

Solved3 replies3 participantsUpdated by Tony Rodriguez

  • Avatar: nmble
    nmble
    Participant

    Hi there,

    My website often gets hit with bot attacks, my hosting server said the below (in private content box)

    Is there a way to add a nofollow to filter links?

    Content is visible for topic creator and
    support staff only.

    3 Answers

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff

    Hello, nmble,

    Unfortunately, theme-level code cannot filter or block automated bot traffic, as requests hit the server and database resources before the theme or WooCommerce scripts even load.

    As your hosting provider suggested, the best and most effective approach here is to configure a Web Application Firewall (WAF) or bot protection directly at your CDN/DNS level (such as Cloudflare WAF). You can set up custom firewall rules or enable Super Bot Fight Mode/Bot Management in Cloudflare to challenge or block automated requests targeting your shop filters and pagination.

    Implementing nofollow attributes on filter links generally won’t stop malicious or automated scrapers/bots, as they ignore standard SEO directives and crawl parameterized URLs directly. A WAF rule is the most reliable way to mitigate this resource drain.

    Best regards,

    8Theme’s Team

    Avatar: nmble
    nmble
    Participant

    Thanks for the support! My topic “Heaps of Bots Attacking Website Constantly” has been successfully resolved.

    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff

    Dear nmble,

    Thanks for being part of our WordPress & WooCommerce community!

    We’re happy we could assist you. Your feedback truly matters — it helps us make XStore better, faster, and more reliable with every release.

    Together, we’re shaping a better WooCommerce experience for everyone.

    Topic closed.
    The 8Theme Team

The issue related to '‘Heaps of Bots Attacking Website Constantly’' has been successfully resolved, and the topic is now closed for further responses