• Resolved geo86

    (@geo86)


    Hi,
    I’ve recently started to use this plugin and I find it great so far.
    However, I can see many 404 requests for URLs ending in .sql:
    /123.sql
    /table.sql
    /wordpress.sql
    /w.sql
    and I so on. Just random strings ending .sql.
    The IP is constantly changing but some look similar.
    Does anyone know what these are and how can I block them?

    Thank you

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author John Godley

    (@johnny5)

    Thread Starter geo86

    (@geo86)

    I’ve added a new redirection to deflect all these requests because they are clearly looking to find the database or an archive of it. As I don’t use any of those extensions on my website, this is the rule and all requests are redirected to the home page.

    Source URL: ^/(.*).sql|^/(.*).tar|^/(.*).7z|^/(.*).tar.gz|^/(.*).gz
    Target URL: /
    regex

    Thread Starter geo86

    (@geo86)

    Update:

    The source URL above is not quite right, it should be like this:
    ^/(.*)\.sql|^/(.*)\.tar|^/(.*)\.7z|^/(.*)\.tar.gz|^/(.*)\.gz

    A backslach (\) must be added in front of each extension (\.sql, \.tar, \.tz etc.) or it will break all links containing sql, tar etc.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Constant 404 requests for URLs ending in .sql’ is closed to new replies.