Forums

oops! i think i deleted my site (5 posts)

  1. eeps24
    Member
    Posted 3 years ago #

    I was editing my header.php file, i was trying to insert my own .jpg ...when I refreshed my site its complete gone :( , please help ... at least i think i was in header.jpg..... which code should i post on here to see of some generous person can please help me.

    thank you

    /edit----------

    i fixed it ...pheewwww ...im sweetin over here... do you guys back up your php files to your local hard drives?

  2. iridiax
    Member
    Posted 3 years ago #

    do you guys back up your php files to your local hard drives?

    Yes, and I edit them there as well using a code/text editor. I also keep my database backed up:

    http://codex.wordpress.org/Backing_Up_Your_Database

  3. eeps24
    Member
    Posted 3 years ago #

    how do you guys launch/preview these php files on your local hard drive? for me i have to edit my php files directly on my server :( which is scarey....how do i preview my work before uploading?

    thanks for the database link

  4. iridiax
    Member
    Posted 3 years ago #

    I don't preview, I just have a backup copy of whatever file I'm editing. If something goes wrong, I'll just upload the backup copy.

  5. brew13
    Member
    Posted 3 years ago #

    I agree with iridiax. I did some format changes today on index.php, home.php and styles.css. The first thing I did was create a folder and named it 'revised files' and put the files I'm working on in it. I take this extra step to prevent a mixup. I've gotten my original files mixed up with the modified files working late at night so I take the extra step to keep the modified files separated from the original files. Good luck!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.