• Resolved Smile and Relax

    (@smile-and-relax)


    Hey.
    I was working on my website and all was going well.
    Then I was in the process of integrating Google Analytics into the site.
    I copied and pasted

    <?php
    2
    add_action(‘wp_footer’, ‘add_googleanalytics’);
    3
    function add_googleanalytics() { ?>
    4
    // Paste your Google Analytics code from Step 4 here
    5
    <?php } ?>

    Into the functions.php. It didn’t work so i deleted the lines of code. After updating, I received a 500 server error. Not sure if this was the cause and i accidently deleted an extra line of code or something.

    Have the dashboard open, but every time i click a link, the error shows up. Cannot even get to the functions.php page anymore.

    Please help

    The site I was working on is http://www.SmileandRelaxClothing.com

    Thank you

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    Access your server via FTP, SFTP, or a file manager in your hosting provider’s control panel, then replace the functions.php file you edited either with a backed up copy prior to the change or a fresh one from a new download.

    Thread Starter Smile and Relax

    (@smile-and-relax)

    Thank you!
    That did the trick

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    You’re welcome!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘500 Server Error’ is closed to new replies.