Title: Groups Blog Protect
Author: itthinx
Published: <strong>6 de febrer de 2013</strong>
Last modified: 20 de desembre de 2025

---

Cerca extensions

![](https://ps.w.org/groups-blog-protect/assets/icon-256x256.png?rev=3021565)

# Groups Blog Protect

 Per [itthinx](https://profiles.wordpress.org/itthinx/)

[Baixa](https://downloads.wordpress.org/plugin/groups-blog-protect.1.6.0.zip)

 * [Detalls](https://ca.wordpress.org/plugins/groups-blog-protect/#description)
 * [Ressenyes](https://ca.wordpress.org/plugins/groups-blog-protect/#reviews)
 *  [Instal·lació](https://ca.wordpress.org/plugins/groups-blog-protect/#installation)
 * [Desenvolupament](https://ca.wordpress.org/plugins/groups-blog-protect/#developers)

 [Suport](https://wordpress.org/support/plugin/groups-blog-protect/)

## Descripció

The plugin protects a site so that only members can access its pages.

Suitable for site lockdowns, private sites and sites that are under construction.

It allows to redirect visitors to a particular page or to the WordPress login.

Members who are logged in have access to the site.
 Members must belong to the site’s
_Registered_ group, or to a particular group as determined specifically for the 
site.

The plugin is an extension to [Groups](https://wordpress.org/plugins/groups/) which
is required.

The redirection settings can be adjusted in _Settings > Groups Blog Protect_ :

Redirection options can be set for the blog – or for each blog in a multisite setup:

 * no redirection
 * redirect to a specific post, note that with this option the blog is shown to 
   the visitor but only that page can be visited
 * redirect to the WordPress login

The redirect status code can be selected among:

 * Moved Permanently (301)
 * Found (302)
 * See other (303)
 * Temporary Redirect (307)

Site administrators can determine which group is used to protect the site:

 * By default, users must belong to the _Registered_ group to be able to access 
   the site, so any registered user who is logged in will have access.
 * The constant `GROUPS_BLOG_PROTECT_GROUP` can be set in `wp-config.php` to indicate
   the name of the group to which users must belong to be able to access the site.
 * For multisites, the `GROUPS_BLOG_PROTECT_GROUP_n` constant can be used to indicate
   the name of the group required to access a particular site, where `n` is the 
   blog ID of the site.

## Captures

 * [[
 * Groups Blog Protect settings.

## Instal·lació

 1. Upload or extract the `groups-blog-protect` folder to your site’s `/wp-content/
    plugins/` directory. You can also use the _Add new_ option found in the _Plugins_
    menu in WordPress.
 2. Enable the plugin from the _Plugins_ menu in WordPress.
 3. Go to _Settings > Groups Blog Protect_ and adjust the redirection settings as desired.

## PMF

### Where is the documentation?

The documentation for this plugin is at [Groups Blog Protect](https://docs.itthinx.com/document/groups-blog-protect/).

The documentation for Groups is at [Groups](https://docs.itthinx.com/document/groups/).

### What do the status codes mean?

Read the section on [Status Code Definitions](http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html)
in [RFC 2616](http://www.w3.org/Protocols/rfc2616/rfc2616.html).

### I have a question, where do I ask?

You can leave a comment at the [Groups Blog Protect](https://www.itthinx.com/plugins/groups-blog-protect/)
plugin page.

## Ressenyes

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

### 󠀁[Perfect for restricting access to the entire website](https://wordpress.org/support/topic/perfect-for-restricting-access-to-the-entire-website/)󠁿

 [Antonio Blanco Oliva](https://profiles.wordpress.org/ablancodev/) 23 de juny de
2021

Perfect for restricting access to the entire web. I have used it for only registered
users to have access to my ecommerce. 👏🏻 👏🏻 👏🏻

 [ Llegiu tota la 1 ressenya ](https://wordpress.org/support/plugin/groups-blog-protect/reviews/)

## Col·laboradors i desenvolupadors

«Groups Blog Protect» és programari de codi obert. La següent gent ha col·laborat
en aquesta extensió.

Col·laboradors

 *   [ itthinx ](https://profiles.wordpress.org/itthinx/)

[Traduïu «Groups Blog Protect» a la vostra llengua.](https://translate.wordpress.org/projects/wp-plugins/groups-blog-protect)

### Interessats en el desenvolupament?

[Navegueu pel codi](https://plugins.trac.wordpress.org/browser/groups-blog-protect/),
baixeu-vos el [repositori SVN](https://plugins.svn.wordpress.org/groups-blog-protect/),
o subscriviu-vos al [registre de desenvolupament](https://plugins.trac.wordpress.org/log/groups-blog-protect/)
per [fisl de subscripció RSS](https://plugins.trac.wordpress.org/log/groups-blog-protect/?limit=100&mode=stop_on_copy&format=rss).

## Registre de canvis

For the full changelog see [changelog.txt](https://github.com/itthinx/groups-blog-protect/blob/master/changelog.txt).

## Meta

 *  Versió **1.6.0**
 *  Darrera actualització **fa 6 mesos**
 *  Instal·lacions actives **10+**
 *  Versió del WordPress ** 6.5 o posterior **
 *  Provada fins a **6.9.4**
 *  Versió del PHP ** 7.4 o posterior **
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/groups-blog-protect/)
 * Etiquetes
 * [access](https://ca.wordpress.org/plugins/tags/access/)[access-control](https://ca.wordpress.org/plugins/tags/access-control/)
   [construction](https://ca.wordpress.org/plugins/tags/construction/)[groups](https://ca.wordpress.org/plugins/tags/groups/)
   [lockdown](https://ca.wordpress.org/plugins/tags/lockdown/)
 *  [Vista avançada](https://ca.wordpress.org/plugins/groups-blog-protect/advanced/)

## Valoracions

 5 sobre 5 estrelles.

 *  [  1 valoració de 5 estrelles     ](https://wordpress.org/support/plugin/groups-blog-protect/reviews/?filter=5)
 *  [  0 valoracions de 4 estrelles     ](https://wordpress.org/support/plugin/groups-blog-protect/reviews/?filter=4)
 *  [  0 valoracions de 3 estrelles     ](https://wordpress.org/support/plugin/groups-blog-protect/reviews/?filter=3)
 *  [  0 valoracions de 2 estrelles     ](https://wordpress.org/support/plugin/groups-blog-protect/reviews/?filter=2)
 *  [  0 valoracions de 1 estrelles     ](https://wordpress.org/support/plugin/groups-blog-protect/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/groups-blog-protect/reviews/#new-post)

[Visualitzeu totes les ressenyes](https://wordpress.org/support/plugin/groups-blog-protect/reviews/)

## Col·laboradors

 *   [ itthinx ](https://profiles.wordpress.org/itthinx/)

## Suport

Teniu quelcom a dir? Necessiteu ajuda?

 [Visualitza els fòrums de suport](https://wordpress.org/support/plugin/groups-blog-protect/)

## Feu una donació

Voleu ajudar a què l’extensió millori?

 [ Feu una donació a aquesta extensió ](https://www.itthinx.com/shop/)