This topic has 4 replies, 3 voices, and was last updated 6 years by ARCHE.

  • Author

    Tagged: ,

  • #70626
     ARCHE
    Participant

    Hi,

    I have created and customised a “404 Page” within WordPress that I would like to use instead of KLEO predefined 404 Page. Is this possible? I would need your assistance how to do this, thank you in advance.

    #70630
     sharmstr
    Moderator

    The 404 is controlled by a template. Copy /kleo/404.php to your child theme and replace this

    COPY CODE
    
    <img />/assets/img/404_image.png"><br>
    			<h2 class="article-title"><?php _e( 'This is somewhat embarrassing, isn’t it?', 'kleo_framework' ); ?></h2>
    
    			<p><?php _e( 'It looks like nothing was found at this location. Maybe try a search?', 'kleo_framework' ); ?></p>
    

    with the table code that you currently have on your 404 page within the wp admin.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #92287
     clyn
    Participant

    Dear Admin, i designed new 404 page (within wordpress) and i copy below code 404.php and deleted kleo codes. And its redirecting to my new wordpress 404, its working wery well. But what could be the problem future…Sorry my english

    <?php

    function go ($url, $time = 1){ //

    if ($time) header(“Refresh: {$time}; url={$url}”);
    else header(“Location: {$url}”);
    }

    //
    go(“https://www.domain.net/sorry&#8221;, 1); //

    // or
    go(“https://www.domain.net/sorry&#8221;);

    ?>

    #189428
     ARCHE
    Participant

    Hello,

    I had done the what was replied by @sharmstr but now it doesn’t seem to work anymore. Can anybody please help? Thanks.

    #191161
     ARCHE
    Participant

    Hello,

    For some reason, the code that was suggested in this ticket doesn’t work anymore. Can you please help me?

    Attachments:
    You must be logged in to view attached files.
Viewing 5 posts - 1 through 5 (of 5 total)

The forum ‘KLEO’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?