Title: Require Login for WooCommerce
Author: Ramon Ahnert
Published: <strong>јуни 16, 2017</strong>
Last modified: септември 21, 2025

---

Search plugins

![](https://s.w.org/plugins/geopattern-icon/woo-for-logged-users.svg)

# Require Login for WooCommerce

 By [Ramon Ahnert](https://profiles.wordpress.org/rahmohn/)

[Download](https://downloads.wordpress.org/plugin/woo-for-logged-users.1.4.1.zip)

 * [Details](https://mk.wordpress.org/plugins/woo-for-logged-users/#description)
 * [Reviews](https://mk.wordpress.org/plugins/woo-for-logged-users/#reviews)
 *  [Installation](https://mk.wordpress.org/plugins/woo-for-logged-users/#installation)
 * [Development](https://mk.wordpress.org/plugins/woo-for-logged-users/#developers)

 [Support](https://wordpress.org/support/plugin/woo-for-logged-users/)

## Description

Set the WooCommerce Shop only for logged-in users. Just activate the plugin and 
users not logged-in will be redirected to “My Account” page by default to login.

## Installation

 1. Upload `woo-for-logged-users.php` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

## FAQ

### What do I need to do after activating the plugin?

Nothing :). After activating, the plugin automatically will redirect not logged-
in users to “My Account” page to login.

### Can I set what pages the user will be redirected to?

Yes, you can. In Dashboard, go to menu WooCommerce -> Require Login for WooCommerce
and set the pages that you desire.

## Reviews

![](https://secure.gravatar.com/avatar/171239bd76da8875203a6c103be5804f1590537013463b1895a90adf92c76e0d?
s=60&d=retro&r=g)

### 󠀁[GOOD ONE](https://wordpress.org/support/topic/good-one-599/)󠁿

 [ulen](https://profiles.wordpress.org/ulen/) мај 10, 2024

WORKS

![](https://secure.gravatar.com/avatar/1d9c35c7e3af91102d6dd9f20bc5d716d5e7bda32c707317d8aba32ebeffe3e9?
s=60&d=retro&r=g)

### 󠀁[simply as that](https://wordpress.org/support/topic/simply-as-that/)󠁿

 [nahagel](https://profiles.wordpress.org/nahagel/) април 19, 2024

thank you!

![](https://secure.gravatar.com/avatar/9943e4202f6ba595a46d17f0b80697a6fb555b443f79e299d04358ca0977277f?
s=60&d=retro&r=g)

### 󠀁[Ramon Ahnert Rocks !!](https://wordpress.org/support/topic/ramon-ahnert-rocks/)󠁿

 [romonoutic](https://profiles.wordpress.org/romonoutic/) март 29, 2022 1 reply

I was wondering how to add a new and useful feature for my shop, and I asked Ramon
Ahnert, and him instantly helps me with a code snippet that amazingly solved my 
problem! Thanks a lot bro!

![](https://secure.gravatar.com/avatar/41f8f2c0d0f66ea5186e5909b19bad67da3f3b3ac5391b171eed1a5d1e4092d3?
s=60&d=retro&r=g)

### 󠀁[Great simple trustable plugin](https://wordpress.org/support/topic/great-simple-trustable-plugin/)󠁿

 [luca_2387](https://profiles.wordpress.org/luca_2387/) август 29, 2021 1 reply

Great simple trustable plugin, I had the same issues as in “Redirect to Shop page”
so I think a fix to the max 5 items in drop-down would be usefull.

![](https://secure.gravatar.com/avatar/0d8f3eb262e6ee3ab59df09e936a0ecb9a937624102a56c23f1cbd5e7248c04d?
s=60&d=retro&r=g)

### 󠀁[No need to look further, click install..](https://wordpress.org/support/topic/no-need-to-look-further-click-install/)󠁿

 [JohnDoe](https://profiles.wordpress.org/saleforsale/) април 8, 2021 1 reply

I use this plugin because I was a bit too enthousiastic with my SEO and google was
delivering me too many customers that I couldn’t handle so I wanted to keep my loyal
customers but block the new ones. After searching and installing so many plugins
that were so useless and time wasting I finally found this. And it’s simple. You
activate it. And it just redirects anyone that wants to visit your shop, to log 
in page.. Thank you, I made an account just for making this review. You deserve 
more 5+ stars and i’m glad and my problem is solved so a huge thank you !

![](https://secure.gravatar.com/avatar/8dc93f277657dbdae700b3a8ec3482fcc5da0d473e9250ca0618a6133a3d34a6?
s=60&d=retro&r=g)

### 󠀁[Recommended](https://wordpress.org/support/topic/recommended-308/)󠁿

 [benoitcassagnau](https://profiles.wordpress.org/benoitcassagnau/) февруари 10,
2021 1 reply

It is a simple, effective and very easy plugin. ThanKs!

 [ Read all 10 reviews ](https://wordpress.org/support/plugin/woo-for-logged-users/reviews/)

## Contributors & Developers

“Require Login for WooCommerce” is open source software. The following people have
contributed to this plugin.

Contributors

 *   [ Ramon Ahnert ](https://profiles.wordpress.org/rahmohn/)

“Require Login for WooCommerce” has been translated into 4 locales. Thank you to
[the translators](https://translate.wordpress.org/projects/wp-plugins/woo-for-logged-users/contributors)
for their contributions.

[Translate “Require Login for WooCommerce” into your language.](https://translate.wordpress.org/projects/wp-plugins/woo-for-logged-users)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/woo-for-logged-users/),
check out the [SVN repository](https://plugins.svn.wordpress.org/woo-for-logged-users/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/woo-for-logged-users/)
by [RSS](https://plugins.trac.wordpress.org/log/woo-for-logged-users/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.4.1

 * [update] Plugin’s name

#### 1.4.0

 * [fix] Blank Settings page

#### 1.3.0

 * [new] Filters `wflu_should_redirect_not_logged_in_user`, `wflu_redirect_page_url`
   and `wflu_redirect_after_login_page_url`

#### 1.2.3

 * **Security:** update dependencies.

#### 1.2.2

 * Fix registering of REST API routes

#### 1.2.1

 * Fix internationalization issue

#### 1.2.0

 * Update the settings page with redirect options

#### 1.1.0

 * Add option to redirect to shop page after login

#### 1.0.1

 * Updated “tested up to”

#### 1.0

 * Initial release

## Meta

 *  Version **1.4.1**
 *  Last updated **7 месеци ago**
 *  Active installations **2.000+**
 *  WordPress version ** 3.0.1 or higher **
 *  Tested up to **6.8.5**
 *  Languages
 * [English (US)](https://wordpress.org/plugins/woo-for-logged-users/), [Portuguese (Brazil)](https://br.wordpress.org/plugins/woo-for-logged-users/),
   [Spanish (Chile)](https://cl.wordpress.org/plugins/woo-for-logged-users/), [Spanish (Spain)](https://es.wordpress.org/plugins/woo-for-logged-users/)
   и [Swedish](https://sv.wordpress.org/plugins/woo-for-logged-users/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/woo-for-logged-users)
 * Tags
 * [logged in](https://mk.wordpress.org/plugins/tags/logged-in/)[shop](https://mk.wordpress.org/plugins/tags/shop/)
   [woocommerce](https://mk.wordpress.org/plugins/tags/woocommerce/)
 *  [Advanced View](https://mk.wordpress.org/plugins/woo-for-logged-users/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  10 5-star reviews     ](https://wordpress.org/support/plugin/woo-for-logged-users/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/woo-for-logged-users/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/woo-for-logged-users/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/woo-for-logged-users/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/woo-for-logged-users/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/woo-for-logged-users/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/woo-for-logged-users/reviews/)

## Contributors

 *   [ Ramon Ahnert ](https://profiles.wordpress.org/rahmohn/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/woo-for-logged-users/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://github.com/Rahmon/)