WordPress.org

Ready to get started?Download WordPress

Forums

deleted my wordpress header code by mistake, and i cant replace the file at all (9 posts)

  1. wanderwithme
    Member
    Posted 1 year ago #

    i deleted my wordpress header code by mistake and i cant replace the file on the server at all ive tried using filezilla and dreamweaver to edit the file but noting will change it. ive tried replace it also with a new file but it cant overwrite it either. http://markcoughlanphotography.com/

    Any help would be great thanks ive searched all the posts and noting on this is there

  2. esmi
    Forum Moderator
    Posted 1 year ago #

    What exactly did you delete?

  3. fawkesblog2
    Member
    Posted 1 year ago #

    Who do you host with?

    Once we know that we can direct you to the back end of your site (not the wp-admin panel) where you should be able to post and save your header file.

  4. wanderwithme
    Member
    Posted 1 year ago #

    i deleted all the code from the header.php file and hit save by mistake when i try put it back and save it wont let me do it, it tries to overwrite the file 3 times but it doesn't work. i can get into the back end ive tried from there to upload a new file with filezilla and dreamweaver. Im hosting with a local company dotser.ie

    thanks for the quick reply

  5. wanderwithme
    Member
    Posted 1 year ago #

    oh ye sorry also it was the main header file for the theme im using anthology

  6. esmi
    Forum Moderator
    Posted 1 year ago #

    Download a new copy of the theme, unpack it and extract the header.php file. Then upload this to wp-content/themes/anthology

  7. wanderwithme
    Member
    Posted 1 year ago #

    ye i did all that when the problem occurred, and ive just tried again but still the same it just wont put in the new head.php in and replace the file that is there. ive also pasted in the code to the file that's there and still no luck.

    Really confused

  8. esmi
    Forum Moderator
    Posted 1 year ago #

    Re-upload a fresh copy of the theme using FTP.

  9. fawkesblog2
    Member
    Posted 1 year ago #

    Yes, change theme and delete anthology, check the back end and delete it there.

    Then reload a fresh copy.

    Try once more to resave the header file while anthology is disabled before deleting it.

Topic Closed

This topic has been closed to new replies.

About this Topic