Skip to main content

Home/ Wordpress/ Group items tagged redirection Login

Rss Feed Group items tagged

Luciano Ferrer

WordPress › Peter's Login Redirect « WordPress Plugins - 0 views

  •  
    "Redirect users to different locations after logging in and logging out. Define a set of redirect rules for specific users, users with specific roles, users with specific capabilities, and a blanket rule for all other users. Also, set a redirect URL for post-registration. This is all managed in Settings > Login/logout redirects. You can use the syntax [variable]username[/variable] in your URLs so that the system will build a dynamic URL upon each login, replacing that text with the user's username. In addition to username, there is "userslug", "homeurl", "siteurl", "postid-23", "http_referer" and you can also add your own custom URL "variables". See Other Notes / How to Extend for documentation. If you're using a plugin such as Gigya that bypasses the regular WordPress login redirect process (and only allows one fixed redirect URL), set that plugin to redirect to wp-content/plugins/peters-login-redirect/wplogin_redirect_control.php and set the relevant setting to "Yes" at the bottom of the Settings > Login/Logout redirects page in the WordPress admin panel. You can add your own code logic before and between any of the plugin's normal redirect checks if needed. See Other Notes / How to Extend for documentation. Some examples include: redirecting the user based on their IP address; and redirect users to a special page on first login. This plugin also includes a function rul_register that acts the same as the wp_register function you see in templates (typically producing the Register or Site Admin links in the sidebar), except that it will return the custom defined admin address. rul_register takes three parameters: the "before" code (by default ""), the "after" code (by d"
Luciano Ferrer

WordPress › Sky Login Redirect « WordPress Plugins - 0 views

  •  
    "Redirects to the page you were reading just before logging in. Redirects to the homepage when you log out. Sky Login Redirect redirects users to the page they were reading just before logging in. In case that page is not defined, users are redirected to the homepage."
Vernon Fowler

Redirection - Manage 301 redirections without modifying Apache | Urban Giraffe - 0 views

  • Full regular expression support
  • Advanced users can make use of regular expressions to reduce the number of redirections they need to create. A regular expression is basically a pattern that tells the plugin how to match.
  • Remember that if the source URL is a regular expression then you must enable the regular expression option, otherwise Redirection will just treat you source URL as plain text.
  • ...5 more annotations...
  • match the URL only when the user is logged in
  • Redirect to URL by login status This rule allows you to match a URL based upon the user’s WordPress login status. That is, if they are logged into your site.
  • Export all redirections to CSV, XML, or Apache .htaccess files Import Apache .htacces files
  • Site URL – an advanced option which allows you to set the site base URL
  • Ban IPs – prevents certain IPs from accessing your site
  •  
    "Redirection is a WordPress plugin to manage 301 redirections, keep track of 404 errors, and generally tidy up any loose ends your site may have. This is particularly useful if you are migrating pages from an old website, or are changing the directory of your WordPress installation. "
Luciano Ferrer

Redirección de usuarios a páginas personalizadas al registrarse en WordPress - 0 views

  •  
    "// --------------------------------- // Redirección de registro (login) // según el tipo (rol) de usuario. // --------------------------------- function mytheme_custom_login_redirect($redirect_to, $request, $user) { global $user; if ( isset( $user->roles ) && is_array( $user->roles ) ) { // Si es un usuario administrador // le redirigimos a la página de gestión de plugins if ( in_array( 'administrator', $user->roles ) ) return home_url( '/wp-admin/plugins.php' ); // Si es un usuario con permisos de editor // le enviamos a la página de gestión de entradas. elseif ( in_array( 'editor', $user->roles ) ) return home_url( '/wp-admin/edit.php' ); // Y a todos los demás usuarios // les redirigimos a la página de inicio de la web. else return home_url(); } else { return $redirect_to; } } add_filter( 'login_redirect', 'mytheme_custom_login_redirect', 10, 3 );"
1 - 5 of 5
Showing 20 items per page