Skip to content
Read For Learn
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP

How can I force users to a particular subdomain to log in for MU (Multisite)?

I would recommend using Peters Login Redirect to redirect users after login I have used it before and works well.

You could redirect users to the secure area by adding the below to your .htaccess file :

Redirect 301 blog1.example.com/wp-admin/dashboard.php secure.example.com/wp-admin 

Related Posts:

  1. How can I make an Ajax login form work with FORCE_SSL_ADMIN enabled?
  2. Cannot access wp-admin after disabling all plugin
  3. How to enable Admins to see Plugins
  4. How can I get a list of plugins and which blogs are using them?
  5. How can I make uploaded images in the editor load with HTTPS?
  6. WordPress wp-admin/network/plugin-install
  7. How to see which sites use my installed plugins (wordpress multisite)
  8. WordPress Multisite Profile Picture Sync Error with Nextend Social Login Plugin
  9. Why my multisite is this slow? (stats inside)
  10. How to enable Admins to see Plugins
  11. Frontpage Admin Bar Disappeared
  12. Multisite Change from domain.com to sub.newdomain.com
  13. Activation flow of a plugin in a multisite environment
  14. In Multisite Setups, how to update mass sections of sub-sites
  15. Hide fields in woocommerce settings
  16. Plugin or ways to limit number of users logging in the website,
  17. force logged in user to stay in the dashboard
  18. How to create admin setting for this small plugin
  19. WC Fix Attributes – ‘Add New’ Not Searchable/Delayed
  20. www redirects to another directory in wordpress
  21. Admin Custom Plugin List Files in admin Table
  22. Multisite – Cloning CPT pages + content (including ACF Flexible Content) from site to site
  23. Javascript embedded disappears for editors
  24. PHP warning – Use of undefined constant ‘FORCE_SSL_LOGIN’ ‘FORCE_SSL_ADMIN’ on wp-config.php
  25. Hide all Admin Notices and move on a separate page
  26. WP Forms not displaying,becomming an fatal error
  27. Can I edit multiple sites with an online WordPress account?
  28. Share login credential with QR code
  29. disable plugin activation on no multisite
  30. Fatal error: require_once(): Failed opening required
  31. How to implement data residency in my WordPress site
  32. Can I create a separate admin section for my plugin?
  33. How to Fix WordPress multisite woocommerce 403 file error
  34. Which membership plugin for a simple sign in? Personal areas for customers
  35. How to capture hidden values with Gravity Forms
  36. Mixed content error after adding SSL certificate
  37. Discern a specific plugin’s action hooks
  38. the content of the uploads folder gets deleted periodically, how to figure out what causes it?
  39. Creating one user access account for all the multiple sites
  40. How To Remove “All, Publish, Draft and Expired” in Events Dashboard
  41. Login/password protected “client page”
  42. WordPress Admin login redirect to homepage
  43. How to use get_blogs_of_user?
  44. Site navigation from Google not using HTTPS for some resources, causing redirect loop
  45. https rewrite not working for All in one security Brute force > rename login url
  46. On button click, redirect users to registration page instead of another page
  47. Multisite converted to Single Site can’t add new plugins or new themes
  48. How can I show login popup when user clicks on download button
  49. When the user entered an unauthorized url redirect to login page
  50. Copying content from my other websites
  51. How to show private pages based on a user’s role?
  52. Disable plugin for administrator
  53. Install/Enable/Activate plugin on multisite without access to master site
  54. how to add navigation icons in specific template?
  55. Category as Subdomain for One WP Install
  56. Why does WordPress use cookies for /wp-admin and /wp-content/plugins for non-admin users [duplicate]
  57. How to set plugin across network in multisite and modify it in one place?
  58. Echo custom admin field into a is_single()
  59. Update javascript URL in header – Domain Mapping Plugin [closed]
  60. User not staying logged into one of sub sites in multisite after SSL
  61. Renamed plugin folder and when I changed back nothing was activated
  62. How To Add Code To WP Without Plugin or Functions
  63. Add_Meta_box to custom page (formidable edit post)
  64. How do I locate specific part of code that affects ssl?
  65. using wordpress login details for other website / application / forum?
  66. Any way to force a specific plugin to use single site tables in multisite installation?
  67. wp_signon returns user, in popup window, but the user is not logged in
  68. WordPress Network with SSL for multiple domains
  69. Get content and send to 3rd party
  70. How to make wp multisite subdomain exist search
  71. Wordress admin page is fetching error You do not have sufficient permissions to access this page.
  72. How to Call Function From Separate WordPress Install on Same Server?
  73. How to Create Custom Dashboard for my Laundry Website?
  74. wp_login_form() ignoring login_form action hook
  75. Specific plugin script not working on subdomain
  76. Coming soon pages with rest of site in maintenance mode
  77. Query Shortcode from a multisite to appear on a different site?
  78. Admin page and admin menu. Permissions plugin
  79. User content database [closed]
  80. How do plugin updates work?
  81. Defined user role to access plugin’s pages
  82. Auto-login from backend
  83. Automatization for automatization
  84. AJAX login without a plugin does not work. when add a action to function.php
  85. Plugins effecting layout & login
  86. How know the “admin” blog from wordpress multisite?
  87. Add a checkbox in plugin options page and make it actually work
  88. Redirect default login page to a custom page [duplicate]
  89. Embedding code snippets in posts with indentation
  90. wp-admin will not redirect to wp-login.php
  91. Multiple Accounts on 1 email – Multisite
  92. Show image or notification on specific blog in multisite
  93. Force Network Activated Plugin to Run After Site Level Plugins
  94. How do I secure a subdomain using UCC SSL?
  95. Plugins not activated after update?
  96. Is there going to an issue running different features of WP site in different subdomains?
  97. Adding google authenticator and use only email address of user
  98. Plugin on all site except primary one
  99. WordPress MU LDAP connection failures
  100. Getting 404 page not found error while trying to access add new plugin / themes
Categories plugins Tags admin, login, multisite, plugins, ssl
Taxonomies for custom post types
A question on creating filters for custom posts using taxonomy

Recommended Hostings

Cloudways: Realize Your Website's Potential With Flexible & Affordable Hosting. 24/7/365 Support, Managed Security, Automated Backups, and 24/7 Real-time Monitoring.

FastComet: Fast SSD Hosting, Free Migration, Hack-Free Security, 24/7 Super Fast Support, 45 Day Money Back Guarantee.

Recent Added Topics

  • Bug in translation system: load_theme_textdomain() returns true, files are available and accessible but the language defaults to english
  • Custom Elementor controls not appearing in the widget Advanced tab using injection hooks
  • Get the name of the template/*html file used
  • Trying to Add Paging to Single Post Page
  • Sharing media files between live and staging servers
  • How to display the description of a custom post type in the dashboard?
  • Critical error on image display
  • Copying WP data and files into new install?
  • How to determine the DirectAdmin WordPress backup date?
  • How to get list of ALL tables in the database?
© 2026 Read For Learn
  • Database
    • Oracle
    • SQL
  • algorithm
  • asp.net
  • assembly
  • binary
  • c#
  • Git
  • hex
  • HTML
  • iOS
  • language angnostic
  • math
  • matlab
  • Tips & Trick
  • Tools
  • windows
  • C
  • C++
  • Java
  • javascript
  • Python
  • R
  • Java Script
  • jQuery
  • PHP
  • WordPress