• birgittetuepker

    (@birgittetuepker)


    Hej!

    I use the custom login to prevent brute force attacs. Also I created a custom 404 Page, that looks fine and works perfectly, when you type a wrong url. But NOT when you type /wp-login.php instead of my custom login. If you try this, you see the default 404 page and a lot of short-codes from Divi.

    How can I redirect the default login to my nice 404 page?

    Thank you in advance!

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

Viewing 1 replies (of 1 total)
  • Plugin Support hjogiupdraftplus

    (@hjogiupdraftplus)

    Hi @birgittetuepker,

    It seems Divi theme used. Let me know child divi theme also.

    the wp-login.php page content seems of the 404 template but it do not run inside the the divi builder.

    I will create internal ticket to check in more details.

    you can add action hook aiowps_before_set_404 and make run this divi template somehow if you know, If possible raise a ticket with theme also.

    What we does is get 404 template apply filter template_include which might not sufficient here.

    $template = get_404_template();
    $template = apply_filters('template_include', $template);
    if ($template) include($template);

    Regards

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.