Title: Website Can&#8217;t access after activating some code snippet code
Last modified: January 7, 2019

---

# Website Can’t access after activating some code snippet code

 *  Resolved [yudhafebrian](https://wordpress.org/support/users/yudhafebrian/)
 * (@yudhafebrian)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/website-cant-access-after-activating-some-code-snippet-code/)
 * Hi, help,
 * Website Can’t access after activating some code snippet code, i set wp redirect
   code in code snippet, but now my site can’t be accessed, i already follow your
   tutorial using safe mode, but still not work, how to delete the snippet?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwebsite-cant-access-after-activating-some-code-snippet-code%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Shea Bunge](https://wordpress.org/support/users/bungeshea/)
 * (@bungeshea)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/website-cant-access-after-activating-some-code-snippet-code/#post-11062811)
 * If safe mode is not working for some reason (though I would recommend double 
   checking that you have added the constant properly), then you can access your
   database and remove the row containing the snippet from the `wp_snippets` table,
   where `wp_` is your database table prefix.
 *  [samjco](https://wordpress.org/support/users/samjco/)
 * (@samjco)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/website-cant-access-after-activating-some-code-snippet-code/#post-11207424)
 * [@yudhafebrian](https://wordpress.org/support/users/yudhafebrian/)
 * 2 ways I’ve found to fix this…
 * 1. Access your plugin folder and rename the snippets folder name. This will allow
   you to access your site, BUT deactivate snippets……
 * -OR-
 * 2. Access you DB using PHPMyAdmin. Find Wp-snippet table. edit the row of the
   last snippet you were working on, and change the “Active” column to “0”. This
   is most effective, as it allows you to keep any other working snippets.!
    -  This reply was modified 7 years, 4 months ago by [samjco](https://wordpress.org/support/users/samjco/).

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

The topic ‘Website Can’t access after activating some code snippet code’ is closed
to new replies.

 * ![](https://ps.w.org/code-snippets/assets/icon.svg?rev=2148878)
 * [Code Snippets](https://wordpress.org/plugins/code-snippets/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/code-snippets/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/code-snippets/)
 * [Active Topics](https://wordpress.org/support/plugin/code-snippets/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/code-snippets/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/code-snippets/reviews/)

## Tags

 * [Failed](https://wordpress.org/support/topic-tag/failed/)

 * 2 replies
 * 3 participants
 * Last reply from: [samjco](https://wordpress.org/support/users/samjco/)
 * Last activity: [7 years, 4 months ago](https://wordpress.org/support/topic/website-cant-access-after-activating-some-code-snippet-code/#post-11207424)
 * Status: resolved