• I have typed this in to my theme function php

    /* redirect users to front page after login */
    function redirect_to_front_page() {
    global $redirect_to;
    if (!isset($_GET[‘redirect_to’])) {
    $redirect_to = get_option(‘siteurl’);
    }
    }
    add_action(‘login_form’, ‘redirect_to_front_page’);

    Then i updated and refreshed, and it won’t come back and show white screen.

    I cannot get to dashboard, ftp server via browser or filezilla.

    Please help me.
    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator t-p

    (@t-p)

    Try deleting what you did, or uploading a fresh copy of this function php

    Use FTP , or your web-host’s cPanel or whatever file management application your host provides (no Dashboard access required).

    Thread Starter ficadmin

    (@ficadmin)

    Thank you for your suggestion. Tara

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘White Screen of Death’ is closed to new replies.