Spring til indhold
WordPress.org

Dansk

  • Temaer
  • Plugins
  • Nyheder
  • Support
  • Om
  • Meetup
  • Vær med
  • Om
  • Få WordPress
Få WordPress
WordPress.org

Plugin Directory

Primary Redirect

  • Indsend et plugin
  • Mine favoritter
  • Log ind
  • Indsend et plugin
  • Mine favoritter
  • Log ind

Primary Redirect

Af Mustafa Uysal
Download
  • Detaljer
  • Vurderinger
  • Installation
  • Udvikling
Support

Beskrivelse

Primary Redirect is a powerful WordPress plugin that allows you to customize where users are redirected after logging in. Instead of the default WordPress behavior, you can redirect users to:

  • A custom URL of your choice
  • Their primary blog’s dashboard (in multisite installations)

This plugin is perfect for:
* Multisite networks where you want users to go to their primary blog
* Sites with custom dashboards or landing pages
* Improving user experience with personalized redirects

Key Features

  • Custom URL Redirect: Set any URL as the post-login destination
  • Primary Blog Redirect: Automatically redirect users to their primary blog’s dashboard (multisite)
  • Network & Single Site Support: Works on both multisite networks and single WordPress sites
  • Easy Configuration: Simple settings interface in WordPress admin
  • Developer Friendly: Clean, modern code following WordPress best practices

Multisite Support

On multisite installations, you get additional options:
* Redirect users to their primary blog’s dashboard
* Network-wide settings that apply to all sites
* Override custom URLs with primary blog redirect

Single Site Support

On single WordPress sites, configure a custom redirect URL that applies to all users after login.

If you like this plugin, then consider checking out our other projects:

  • Powered Cache – Caching and Optimization for WordPress – Easily Improve PageSpeed & Web Vitals Score
  • Magic Login Pro – Easy, secure, and passwordless authentication for WordPress.
  • PaddlePress PRO – Paddle Plugin for WordPress
  • Easy Text-to-Speech for WordPress – Transform your textual content into high-quality synthesized speech with AI.
  • Handywriter – AI-powered writing assistant that can help you create content for your WordPress.
  • WP Accessibility Toolkit – A collection of tools to help you make your WordPress more accessible.

Skærmbilleder

  • Network admin settings for multisite installations
  • Single site settings in General options

Installation

  1. Upload the plugin files to /wp-content/plugins/primary-redirect/ directory, or install through WordPress admin
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. For multisite: Configure settings in Network Admin > Settings
  4. For single site: Configure settings in Settings > General

FAQ

Does this work with single WordPress sites?

Yes! The plugin works on both single WordPress installations and multisite networks.

Can I redirect different users to different URLs?

Currently, the plugin redirects all users to the same custom URL or their primary blog dashboard. User-specific redirects are not supported in this version.

Does this affect interim logins or authentication flows?

No, the plugin respects WordPress’s interim login and reauth processes and won’t interfere with them.

Is this compatible with other login plugins?

The plugin uses WordPress’s standard login_redirect filter, so it should be compatible with most other plugins. However, if another plugin also modifies login redirects, the last one to run may take precedence.

Anmeldelser

Der er ingen anmeldelser for denne widget.

Bidragsydere & udviklere

“Primary Redirect” er open source-software. Følgende personer har bidraget til dette plugin.

Bidragsydere
  • Mustafa Uysal
  • handyplugins

Oversæt “Primary Redirect” til dit eget sprog.

Interesseret i udvikling?

Gennemse koden, tjek SVN repository, eller abonner på udviklerloggen via RSS.

Ændringslog

2.0.2 (Jul 25, 2025)

  • Minor adjustments

2.0.1 (Jul 24, 2025)

  • Bump tested up to WordPress 6.8

2.0 (Jul 24, 2025)

  • Complete rewrite with modern WordPress best practices
  • Improved security with proper input sanitization and capability checks
  • Better code organization and documentation
  • Updated plugin header and branding for HandyPlugins
  • Improved user interface with better descriptions
  • Added proper URL validation
  • Enhanced multisite support
  • Minimum WordPress version: 5.0
  • Minimum PHP version: 7.4

1.1

  • Serbo-Croatian language pack added

1.0

  • Initial release

Meta

  • Version 2.0.2
  • Senest opdateret 7 måneder siden
  • Aktive installationer 10+
  • WordPress-version 5.0 eller højere
  • Testet op til 6.8.3
  • PHP-version 7.4 eller højere
  • Sprog
    English (US)
  • Tags
    loginmultisiteprimaryredirectredirection
  • Avanceret visning

Bedømmelser

5 ud af 5 stjerner.
  • 2 5-stjernet anmeldelser 5 stjerner 2
  • 0 4-stjernet anmeldelser 4 stjerner 0
  • 0 3-stjernet anmeldelser 3 stjerner 0
  • 0 2-stjernet anmeldelser 2 stjerner 0
  • 0 1-stjernet anmeldelser 1 stjerne 0

Tilføj min vurdering

Se alle anmeldelser.

Bidragsydere

  • Mustafa Uysal
  • handyplugins

Support

Har du noget at sige? Har du brug for hjælp?

Vis supportforum

  • Om
  • Nyheder
  • Hosting
  • Privatliv
  • Fremvisning
  • Temaer
  • Plugins
  • Blokgrupper
  • Lær
  • Support
  • Udviklere
  • WordPress.tv ↗
  • Bliv involveret
  • Begivenheder
  • Doner ↗
  • Fem for Fremtiden
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Dansk

  • Besøg vores X (tidligere Twitter) konto
  • Besøg vores Bluesky-konto
  • Besøg vores Mastodon konto
  • Besøg vores Threads-konto
  • Besøg vores Facebook side
  • Besøg vores Instagram konto
  • Besøg vores LinkedIn konto
  • Besøg vores TikTok-konto
  • Besøg vores YouTube-kanal
  • Besøg vores Tumblr-konto
Kode er poesi.
The WordPress® trademark is the intellectual property of the WordPress Foundation. WordPress® is not the same thing as WP Engine®. Since October 2024, WordPress.org’s creator Matt Mullenweg is a defendant in a legal action from WP Engine®. The WordPress Hosting page does not recommend WP Engine®.