Title: Cannot Access WP-Admin When Woocommerce Active
Last modified: November 20, 2020

---

# Cannot Access WP-Admin When Woocommerce Active

 *  Resolved [timmer81](https://wordpress.org/support/users/timmer81/)
 * (@timmer81)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/cannot-access-wp-admin-when-woocommerce-active/)
 * I am not 100% sure if I should post this here or more in a general forum, however
   the below only works when I deactivate woocommerce. If Woocommerce is active 
   I cannot achieve below.
 * When I login it redirects to the home page, but the admin bar displays at the
   top. This includes the dashboard symbol and also my profile, but I cannot access
   the admin side. When I type /wp-admin it says I am not allowed to access this
   area.
 * I have activated twentytwenty theme, no joy, re-uploaded fresh version of the
   theme I use and wordpress, but no joy. I have also reset the .htaccess file but
   still no success.
 * I have checked the site url and wordpress url and within database and all correct.
   Unsure how to proceed any help will be gratefully received.

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

 *  [Austin M – a11n](https://wordpress.org/support/users/apmwebdev/)
 * (@apmwebdev)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/cannot-access-wp-admin-when-woocommerce-active/#post-13690194)
 * Hi [@timmer81](https://wordpress.org/support/users/timmer81/). I’d recommend 
   conflict testing.
 * These are the steps you should take:
 * 1. Back up your site. Many hosting providers offer a way to do this, and there
   are plugins such as [WP Database Backup](https://wordpress.org/plugins/wp-database-backup/)
   that offer this functionality if backing up your database through your host is
   not an option.
    2. Update all your plugins and your theme to their latest versions
   and see if the problem fixes itself. 3. Set your theme to Twenty Twenty. 4. Disable
   all plugins except for WooCommerce. 6. Repeat the action that is causing the 
   problem.
 * If you’re not seeing the same problem after completing the conflict test, then
   you know the problem was with the plugins and/or theme you deactivated. To figure
   out which one is causing the problem, reactivate them one by one, testing after
   each, until you find the one causing conflict.
 *  Thread Starter [timmer81](https://wordpress.org/support/users/timmer81/)
 * (@timmer81)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/cannot-access-wp-admin-when-woocommerce-active/#post-13692297)
 * Thank you [@apmwebdev](https://wordpress.org/support/users/apmwebdev/) I have
   concluded it was a corrupt database after an update of a plugin.
 * I have installed a backup of the db and it works as it should now.
 * Thanks again for your recommendations.
 *  [Austin M – a11n](https://wordpress.org/support/users/apmwebdev/)
 * (@apmwebdev)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/cannot-access-wp-admin-when-woocommerce-active/#post-13727656)
 * Great, I’m glad you were able to figure it out [@timmer81](https://wordpress.org/support/users/timmer81/)!
   Don’t hesitate to reach out again if you have any further questions!

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

The topic ‘Cannot Access WP-Admin When Woocommerce Active’ is closed to new replies.

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

## Tags

 * [redirect](https://wordpress.org/support/topic-tag/redirect/)
 * [wp-admin](https://wordpress.org/support/topic-tag/wp-admin/)

 * 3 replies
 * 2 participants
 * Last reply from: [Austin M – a11n](https://wordpress.org/support/users/apmwebdev/)
 * Last activity: [5 years, 6 months ago](https://wordpress.org/support/topic/cannot-access-wp-admin-when-woocommerce-active/#post-13727656)
 * Status: resolved