WordPress.org

Ready to get started?Download WordPress

Forums

Site dissapeared!! (5 posts)

  1. throwingcoke
    Member
    Posted 1 year ago #

    Howdy y'all.

    So I was working in my sites header.php file and accidentally deleted something and the site has disappeared!

    As far as I can recall the code was something like:

    ?php if login exists();?>

    before it got removed.

    Please help!

  2. throwingcoke
    Member
    Posted 1 year ago #

    Sorry, meant this:

    <?php if login exists();?>

  3. ClaytonJames
    Member
    Posted 1 year ago #

    The fastest solution is to simply use your ftp client or the file manager in your hosts control panel to replace the file you were editing with a copy from your last backup, or the original theme download.

  4. throwingcoke
    Member
    Posted 1 year ago #

    Sadly,

    There doesn't seem to be a backup.

  5. ClaytonJames
    Member
    Posted 1 year ago #

    Would it be possible for you to simply re-download whatever theme you are currently working with, and then just use the header.php file from that as a backup?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.