• Resolved rmgresorts

    (@rmgresorts)


    I messed something up when trying to put in google analytics and now my header.php file is broken. How do you fix?

Viewing 3 replies - 1 through 3 (of 3 total)
  • use any ftp-client that you like, then go to the following directory and replace the header.php file with a backup that you should have on your home pc.

    wp-content->themes->your theme name

    this should help. if you have made any further changes besides that google analytics thing, then make a backup of that header file before replacing it.

    Thread Starter rmgresorts

    (@rmgresorts)

    then do I reactivate the entire theme on wordpress? It still looks the same. Thanks. I’m new to wordpress so just learning here.

    now i see, it’s index.php that you have to replace. sorry my bad.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘how do you replace the header.php file’ is closed to new replies.