Title: Redirect multisite user to their own site (UNMAINTAINED)
Author: Mark Howells-Mead
Published: <strong>30 de septiembre de  2016</strong>
Last modified: 11 de noviembre de  2022

---

Buscar plugins

![](https://ps.w.org/redirect-multisite-user-to-their-own-site/assets/banner-772x250.
png?rev=2463771)

Este plugin **no se ha probado con las últimas 3 versiones mayores de WordPress**.
Puede que ya no tenga asistencia ni lo mantenga nadie, o puede que tenga problemas
de compatibilidad cuando se usa con las versiones más recientes de WordPress.

![](https://ps.w.org/redirect-multisite-user-to-their-own-site/assets/icon.svg?rev
=2463771)

# Redirect multisite user to their own site (UNMAINTAINED)

 Por [Mark Howells-Mead](https://profiles.wordpress.org/markhowellsmead/)

[Descargar](https://downloads.wordpress.org/plugin/redirect-multisite-user-to-their-own-site.zip)

 * [Detalles](https://es-ar.wordpress.org/plugins/redirect-multisite-user-to-their-own-site/#description)
 * [Valoraciones](https://es-ar.wordpress.org/plugins/redirect-multisite-user-to-their-own-site/#reviews)
 *  [Instalación](https://es-ar.wordpress.org/plugins/redirect-multisite-user-to-their-own-site/#installation)
 * [Desarrollo](https://es-ar.wordpress.org/plugins/redirect-multisite-user-to-their-own-site/#developers)

 [Soporte](https://wordpress.org/support/plugin/redirect-multisite-user-to-their-own-site/)

## Descripción

**THIS PLUGIN IS NO LONGER MAINTAINED.**

If the current user in a multisite environment accesses a subsite to which access
has not been granted, then redirect the user back to their own site. If the user
has been granted access to more than one site in the Multisite installation, then
no redirect can occur. (Because there is no way of finding out which one is “correct”.)

### Information for developers

There are three action hooks available to developers. You can use them, for example,
to write a log file or notify an email address when an action is carried out.

 * `redirect-multisite-user-to-their-own-site/no-sites` fires when the user is logged
   in but does not have specific access to any sites in the current Multisite installation.
   Receives the values `$current_user` (WordPress User object) and `$current_site_id`(
   integer) as attributes.
 * `redirect-multisite-user-to-their-own-site/redirecting` fires immediately before
   the user is redirected to the appropriate site. Receives the values `$current_user`(
   WordPress User object), `$current_site_id` (integer) and `$user_target_site->
   siteurl` (the URL to which the user will be redirected) as attributes.
 * `redirect-multisite-user-to-their-own-site/not-allowed` fires when the user has
   authorized access to more than one site in the installation, and can therefore
   not be redirected. Receives the values `$current_user` (WordPress User object),`
   $current_site_id` (integer) and `$user_sites` (array) as attributes.

This plugin requires PHP 5.3 or newer because it uses PHP namespaces.

## Instalación

 1. Upload the plugin folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu.
 3. That’s it.

## Reseñas

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

### 󠀁[Very useful and great support](https://wordpress.org/support/topic/very-useful-and-great-support-3/)󠁿

 [Damiaan van Vliet](https://profiles.wordpress.org/damnsharp/) 19 de mayo de 2017
1 respuesta

A very useful plug-in which does what it is meant for, redirect a user to the first
site he has access to. I used the plug-in "remove dashboard access" to also redirect
the user to the front-end.

 [ Leer la 1 reseña ](https://wordpress.org/support/plugin/redirect-multisite-user-to-their-own-site/reviews/)

## Colaboradores y desarrolladores

“Redirect multisite user to their own site (UNMAINTAINED)” es un software de código
abierto. Las siguientes personas han colaborado con este plugin.

Colaboradores

 *   [ Mark Howells-Mead ](https://profiles.wordpress.org/markhowellsmead/)

“Redirect multisite user to their own site (UNMAINTAINED)” ha sido traducido a 1
idioma. Gracias a [los traductores](https://translate.wordpress.org/projects/wp-plugins/redirect-multisite-user-to-their-own-site/contributors)
por sus contribuciones.

[Traduce “Redirect multisite user to their own site (UNMAINTAINED)” a tu idioma.](https://translate.wordpress.org/projects/wp-plugins/redirect-multisite-user-to-their-own-site)

### ¿Interesado en el desarrollo?

[Revisa el código](https://plugins.trac.wordpress.org/browser/redirect-multisite-user-to-their-own-site/),
echa un vistazo al [repositorio SVN](https://plugins.svn.wordpress.org/redirect-multisite-user-to-their-own-site/),
o suscríbete al [log de desarrollo](https://plugins.trac.wordpress.org/log/redirect-multisite-user-to-their-own-site/)
por [RSS](https://plugins.trac.wordpress.org/log/redirect-multisite-user-to-their-own-site/?limit=100&mode=stop_on_copy&format=rss).

## Registro de cambios

#### 1.1.2

 * This plugin is no longer in active development.

#### 1.1.1

 * Extend README with additional clarification. No functional changes.

#### 1.1.0

 * Revise text domain slug, action hook names and Plugin URI in plugin description.

#### 1.0.1

 * Change plugin URL to WordPress repository version.
 * Change text domain to reflect real plugin name.

#### 1.0.0

 * Initial WordPress SVN repository commit.

#### 0.3.0

 * Fix logic to check whether user is logged in, and to verify that the current 
   site ID is in the array of the user’s sites.

#### 0.2.0

 * Fix namespace syntax
 * Amend variable naming conventions
 * Add actions to allow external code to access the functionality.

#### 0.1.0

 * Initial commit of pre-release version.

## Meta

 *  Versión **1.1.2**
 *  Última actualización **hace 4 años**
 *  Instalaciones activas **10+**
 *  Versión de WordPress ** 4.5 o superior **
 *  Testeado hasta **4.6.30**
 *  Idiomas
 * [English (UK)](https://en-gb.wordpress.org/plugins/redirect-multisite-user-to-their-own-site/)
   y [English (US)](https://wordpress.org/plugins/redirect-multisite-user-to-their-own-site/).
 *  [Traducir a tu idioma](https://translate.wordpress.org/projects/wp-plugins/redirect-multisite-user-to-their-own-site)
 * Etiquetas:
 * [multisite](https://es-ar.wordpress.org/plugins/tags/multisite/)[parse_request](https://es-ar.wordpress.org/plugins/tags/parse_request/)
   [redirect](https://es-ar.wordpress.org/plugins/tags/redirect/)[user](https://es-ar.wordpress.org/plugins/tags/user/)
   [wpmu](https://es-ar.wordpress.org/plugins/tags/wpmu/)
 *  [Vista avanzada](https://es-ar.wordpress.org/plugins/redirect-multisite-user-to-their-own-site/advanced/)

## Valoraciones

 5 de 5 estrellas.

 *  [  1 valoración de 5 estrellas     ](https://wordpress.org/support/plugin/redirect-multisite-user-to-their-own-site/reviews/?filter=5)
 *  [  0 valoraciones de 4 estrellas     ](https://wordpress.org/support/plugin/redirect-multisite-user-to-their-own-site/reviews/?filter=4)
 *  [  0 valoraciones de 3 estrellas     ](https://wordpress.org/support/plugin/redirect-multisite-user-to-their-own-site/reviews/?filter=3)
 *  [  0 valoraciones de 2 estrellas     ](https://wordpress.org/support/plugin/redirect-multisite-user-to-their-own-site/reviews/?filter=2)
 *  [  0 valoraciones de 1 estrellas     ](https://wordpress.org/support/plugin/redirect-multisite-user-to-their-own-site/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/redirect-multisite-user-to-their-own-site/reviews/#new-post)

[Ver todas las reseñas](https://wordpress.org/support/plugin/redirect-multisite-user-to-their-own-site/reviews/)

## Colaboradores

 *   [ Mark Howells-Mead ](https://profiles.wordpress.org/markhowellsmead/)

## Soporte

¿Tenés algo que decir? ¿Necesitás ayuda?

 [Ver el foro de asistencia](https://wordpress.org/support/plugin/redirect-multisite-user-to-their-own-site/)

## Donar

¿Te gustaría apoyar el progreso de este plugin?

 [ Doná a este plugin ](https://www.paypal.me/mhmli)