• Resolved bitru

    (@bitru)


    I have cusstom 404.php with <?php echo do_shortcode("XXXXxxXXXxxx"); ?>

    If I go to non-existing page it shows my page with shortcode resault. (divi module)
    If I go to wp-login.php blocked by cerber it echo shortcode parameters text ( XXXXxxXXXxxx )

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author gioni

    (@gioni)

    Hi!

    That means that the PHP function that hooked with this shortcode works differently in different environments. It should not, bot it does. Most likely, your theme handles 404 pages in some non-standard way.

    WP Cerber uses standard get_404_template() function to invoke themed 404 page. https://codex.ww.wp.xz.cn/Function_Reference/get_query_template

    You can select Display simple 404 page in Main Settings to solve this issue.

    • This reply was modified 9 years ago by gioni.
    Plugin Author gioni

    (@gioni)

    Hi, bitru! How is it going?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘404 page ignor do_shortcode’ is closed to new replies.