Exlude user agent

#22533
  • Resolved Kobe Hatam
    Rank Math free

    Hello guys.
    The majestic bot crawler (user agent: “Mozilla/5.0 (compatible; MJ12bot/v1.4.8; http://mj12bot.com/”) increasing my log with about 2,000 records in a week.
    i would like to exclude specific user agents from my log.
    When i go to general settings->404 i see the option to Exclude Paths, can you add an option to exclude specific user agents?.

    thank for a great plugin!

Viewing 1 replies (of 1 total)
  • Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    I am afraid that we do not have an option to block certain user agents but I can suggest that you create the directives from your .htaccess file by following the steps described on this page:
    https://www.siteground.com/kb/htaccess-block-user-agent/

    Looking forward to helping you. Thank you.

    ​​​​​​​

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 1 replies (of 1 total)

The ticket ‘Exlude user agent’ is closed to new replies.