Title: Website/Admin URL not loading after functions.php edit?
Last modified: August 21, 2016

---

# Website/Admin URL not loading after functions.php edit?

 *  [ashinx2](https://wordpress.org/support/users/ashinx2/)
 * (@ashinx2)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/websiteadmin-url-not-loading-after-functionsphp-edit/)
 * Hi,
 * I was adding some code to edit the “add to cart” text on single product, into
   the functions.php file given to me from WooCommerce snippets.
 * I updated file – all was fine.
 * I then added a similar piece of code to edit “add to cart” text from product 
   archive view – clikced update file and chrome crashed and closed.
 * I cannot load up my site or the admin login page…it simply reverts to a white/
   blank page. I have tried clearing cache etc, using a different browser and computer.
 * Any idea how to resolve this problem.
 * Website URL is: [http://www.waggies.com.au](http://www.waggies.com.au)
 * Thanks in advance.
    Ashley

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Josh](https://wordpress.org/support/users/josh401/)
 * (@josh401)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/websiteadmin-url-not-loading-after-functionsphp-edit/#post-4817196)
 * I’m not familiar with your particular environment.. but you should never edit
   a themes functions.php file directly.
 * Instead, use a child theme. They are super-easy to create.. and allow you to 
   make modifications to your site (theme) without losing them during updates.
 * To restore your site:
    1. Download a fresh copy of the theme which has the functions.
   php file you were editing. 2. Use either your hosts cPanel or an FTP client program
   to gain access to your site file directories. 3. Navigate to the “wp-content/
   themes” directory.
 * Once there, you should see a folder matching your current theme name.
 * Now, open that folder, and locate the “functions.php” file.
    MAKE A BACKUP OF
   THAT FILE.
 * Next, extract the theme .zip file you downloaded from step 1 above.
 * Lastly, upload a fresh copy of the themes “functions.php” file to your server..
   overwriting the one already there (you made a backup right?).
 * This should allow you back into your website.
 *  Thread Starter [ashinx2](https://wordpress.org/support/users/ashinx2/)
 * (@ashinx2)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/websiteadmin-url-not-loading-after-functionsphp-edit/#post-4817200)
 * Hey Josh,
 * I will give this a go.
 * Thank you
    Ash

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Website/Admin URL not loading after functions.php edit?’ is closed to
new replies.

## Tags

 * [can't access admin](https://wordpress.org/support/topic-tag/cant-access-admin/)
 * [loading](https://wordpress.org/support/topic-tag/loading/)
 * [not](https://wordpress.org/support/topic-tag/not/)
 * [webiste](https://wordpress.org/support/topic-tag/webiste/)
 * [working](https://wordpress.org/support/topic-tag/working/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [ashinx2](https://wordpress.org/support/users/ashinx2/)
 * Last activity: [12 years, 1 month ago](https://wordpress.org/support/topic/websiteadmin-url-not-loading-after-functionsphp-edit/#post-4817200)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
