{"id":19663,"date":"2012-08-26T20:35:33","date_gmt":"2012-08-26T20:35:33","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/primary-redirect\/"},"modified":"2025-07-25T11:39:05","modified_gmt":"2025-07-25T11:39:05","slug":"primary-redirect","status":"publish","type":"plugin","link":"https:\/\/sk.wordpress.org\/plugins\/primary-redirect\/","author":8082924,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"2.0.2","stable_tag":"2.0.2","tested":"6.8.5","requires":"5.0","requires_php":"7.4","requires_plugins":null,"header_name":"Primary Redirect","header_author":"HandyPlugins","header_description":"","assets_banners_color":"c5dead","last_updated":"2025-07-25 11:39:05","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/handyplugins.co","header_author_uri":"https:\/\/handyplugins.co\/","rating":5,"author_block_rating":0,"active_installs":10,"downloads":2677,"num_ratings":2,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"2.0":{"tag":"2.0","author":"handyplugins","date":"2025-07-24 13:12:40"},"2.0.1":{"tag":"2.0.1","author":"handyplugins","date":"2025-07-24 13:17:38"},"2.0.2":{"tag":"2.0.2","author":"handyplugins","date":"2025-07-25 11:39:05"}},"upgrade_notice":{"2.0":"<p>Major update with improved security, modern code, and better user experience. Please test in a staging environment before updating production sites.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"2"},"assets_icons":[],"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":3333657,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["2.0","2.0.1","2.0.2"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3333657,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3333657,"resolution":"2","location":"assets","locale":""}},"screenshots":{"1":"Network admin settings for multisite installations","2":"Single site settings in General options"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[602,441,32161,727,925],"plugin_category":[38,51],"plugin_contributors":[147258,79473],"plugin_business_model":[],"class_list":["post-19663","plugin","type-plugin","status-publish","hentry","plugin_tags-login","plugin_tags-multisite","plugin_tags-primary","plugin_tags-redirect","plugin_tags-redirection","plugin_category-authentication","plugin_category-multisite","plugin_contributors-handyplugins","plugin_contributors-m_uysl","plugin_committers-handyplugins","plugin_committers-m_uysl"],"banners":{"banner":"https:\/\/ps.w.org\/primary-redirect\/assets\/banner-772x250.png?rev=3333657","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/primary-redirect_c5dead.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/primary-redirect\/assets\/screenshot-1.png?rev=3333657","caption":"Network admin settings for multisite installations"},{"src":"https:\/\/ps.w.org\/primary-redirect\/assets\/screenshot-2.png?rev=3333657","caption":"Single site settings in General options"}],"raw_content":"<!--section=description-->\n<p>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:<\/p>\n\n<ul>\n<li>A custom URL of your choice<\/li>\n<li>Their primary blog's dashboard (in multisite installations)<\/li>\n<\/ul>\n\n<p>This plugin is perfect for:\n* Multisite networks where you want users to go to their primary blog\n* Sites with custom dashboards or landing pages\n* Improving user experience with personalized redirects<\/p>\n\n<h4>Key Features<\/h4>\n\n<ul>\n<li><strong>Custom URL Redirect<\/strong>: Set any URL as the post-login destination<\/li>\n<li><strong>Primary Blog Redirect<\/strong>: Automatically redirect users to their primary blog's dashboard (multisite)<\/li>\n<li><strong>Network &amp; Single Site Support<\/strong>: Works on both multisite networks and single WordPress sites<\/li>\n<li><strong>Easy Configuration<\/strong>: Simple settings interface in WordPress admin<\/li>\n<li><strong>Developer Friendly<\/strong>: Clean, modern code following WordPress best practices<\/li>\n<\/ul>\n\n<h4>Multisite Support<\/h4>\n\n<p>On multisite installations, you get additional options:\n* Redirect users to their primary blog's dashboard\n* Network-wide settings that apply to all sites\n* Override custom URLs with primary blog redirect<\/p>\n\n<h4>Single Site Support<\/h4>\n\n<p>On single WordPress sites, configure a custom redirect URL that applies to all users after login.<\/p>\n\n<p><strong>If you like this plugin, then consider checking out our other projects:<\/strong><\/p>\n\n<ul>\n<li><a href=\"https:\/\/poweredcache.com\/\" rel=\"friend\">Powered Cache<\/a> \u2013 Caching and Optimization for WordPress \u2013 Easily Improve PageSpeed &amp; Web Vitals Score<\/li>\n<li><a href=\"https:\/\/handyplugins.co\/magic-login-pro\/\" rel=\"friend\">Magic Login Pro<\/a> \u2013 Easy, secure, and passwordless authentication for WordPress.<\/li>\n<li><a href=\"https:\/\/handyplugins.co\/paddlepress-pro\/\" rel=\"friend\">PaddlePress PRO<\/a> \u2013 Paddle Plugin for WordPress<\/li>\n<li><a href=\"https:\/\/handyplugins.co\/easy-text-to-speech\/\" rel=\"friend\">Easy Text-to-Speech for WordPress<\/a> \u2013 Transform your textual content into high-quality synthesized speech with AI.<\/li>\n<li><a href=\"https:\/\/handyplugins.co\/handywriter\/\" rel=\"friend\">Handywriter<\/a> \u2013 AI-powered writing assistant that can help you create content for your WordPress.<\/li>\n<li><a href=\"https:\/\/handyplugins.co\/wp-accessibility-toolkit\/\" rel=\"friend\">WP Accessibility Toolkit<\/a> \u2013 A collection of tools to help you make your WordPress more accessible.<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to <code>\/wp-content\/plugins\/primary-redirect\/<\/code> directory, or install through WordPress admin<\/li>\n<li>Activate the plugin through the 'Plugins' screen in WordPress<\/li>\n<li>For multisite: Configure settings in Network Admin &gt; Settings<\/li>\n<li>For single site: Configure settings in Settings &gt; General<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='does%20this%20work%20with%20single%20wordpress%20sites%3F'><h3>Does this work with single WordPress sites?<\/h3><\/dt>\n<dd><p>Yes! The plugin works on both single WordPress installations and multisite networks.<\/p><\/dd>\n<dt id='can%20i%20redirect%20different%20users%20to%20different%20urls%3F'><h3>Can I redirect different users to different URLs?<\/h3><\/dt>\n<dd><p>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.<\/p><\/dd>\n<dt id='does%20this%20affect%20interim%20logins%20or%20authentication%20flows%3F'><h3>Does this affect interim logins or authentication flows?<\/h3><\/dt>\n<dd><p>No, the plugin respects WordPress's interim login and reauth processes and won't interfere with them.<\/p><\/dd>\n<dt id='is%20this%20compatible%20with%20other%20login%20plugins%3F'><h3>Is this compatible with other login plugins?<\/h3><\/dt>\n<dd><p>The plugin uses WordPress's standard <code>login_redirect<\/code> 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.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.0.2 (Jul 25, 2025)<\/h4>\n\n<ul>\n<li>Minor adjustments<\/li>\n<\/ul>\n\n<h4>2.0.1 (Jul 24, 2025)<\/h4>\n\n<ul>\n<li>Bump tested up to WordPress 6.8<\/li>\n<\/ul>\n\n<h4>2.0 (Jul 24, 2025)<\/h4>\n\n<ul>\n<li>Complete rewrite with modern WordPress best practices<\/li>\n<li>Improved security with proper input sanitization and capability checks<\/li>\n<li>Better code organization and documentation<\/li>\n<li>Updated plugin header and branding for HandyPlugins<\/li>\n<li>Improved user interface with better descriptions<\/li>\n<li>Added proper URL validation<\/li>\n<li>Enhanced multisite support<\/li>\n<li>Minimum WordPress version: 5.0<\/li>\n<li>Minimum PHP version: 7.4<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Serbo-Croatian language pack added<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"Redirects users to a custom URL or their primary blog&#039;s dashboard after login, replacing the default WordPress behavior.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/sk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/19663","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/sk.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/sk.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=19663"}],"author":[{"embeddable":true,"href":"https:\/\/sk.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/m_uysl"}],"wp:attachment":[{"href":"https:\/\/sk.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=19663"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/sk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=19663"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/sk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=19663"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/sk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=19663"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/sk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=19663"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/sk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=19663"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}