404 error loging

#183327
  • Resolved John Strang
    Rank Math free

    I cannot get 404 errors to log. I have tried enabling Simple or Advance logging and it does not work. The redirect for 404 is set to Default. I also disabled the LiteSpeed cache plugin and it made no difference.

    I can create the 404 errors and my custom 404 page displays.

    I have other websites using RankMath and the 404 error logging works.

    As a second issue. Is there a way to the details on the source of redirections? I have some URI that are showing 1000’s of redirects. I would like to know what is causing them so I can perhaps get the offender corrected.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Cris
    Rank Math business

    Hello,

    Thank you for bringing this to our attention and apologies for the inconvenience caused.

    You mentioned that you have a custom 404 page you created. Are you using a different plugin for those custom 404 pages? If yes, it is possible that it is intercepting all the 404s on your site and redirecting them to the custom page.

    Disabling that plugin can help fix this issue.

    Please try disabling that plugin on your end and let us know how it goes so we can assist you further.

    Cheers,

    John Strang
    Rank Math free

    The 404 page is an Elementor Pro template that has a display condition of 404-Page. I disabled the template and the 404 logging worked. Are you not compatible with Elementor 404 templates?

    John Strang
    Rank Math free

    I think I found the problem. I had created a Single page template and published it with a condition 404-page. I created a new template using the Elementor 404 template section. I then published it as a 4040-page and the logging is working. I will do some more testing tomorrow. Thanks for your help.

    Prabhat
    Rank Math agency

    Hello,

    Thanks for your reply.

    The 404 monitor logs only those URLs that actually generate the 404 errors. The custom 404 page that you created might have worked just as a landing page for the 404s and did not generate the actual 404 error.

    You can test this by opening any broken link on your website and then open the browser developer tools > Console, and only if you see a 404 error, it would be logged in the 404 monitor.

    I will do some more testing tomorrow

    Sure, please let us know how that goes.

    Thanks.

    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 4 replies - 1 through 4 (of 4 total)

The ticket ‘404 error loging’ is closed to new replies.