Thanks everyone for taking time to look and get it solved. After so many trials and try-catch, I managed to achieve the above task by adding these lines to .htaccess
RewriteCond %{HTTP_HOST} ^(www\.)?prsblog\.com$ [NC]
#RewriteCond %{REQUEST_URI} !\.(jpe?g|png|gif|ico)$ [NC]
RewriteCond %{REQUEST_URI} !wp-admin
RewriteRule ^(.*)$ https://www.pyarb.com/$1 [L,R=301]
This solved my problem for instant.
Related Posts:
- Site Redirecting to wp-signup.php
- WordPress Multisite – Multiple subfolders for blogs
- WordPress multisite subdirectory redirect infinite loop issue
- multisite htaccess 301 redirects
- W3 Total Cache Plugin with WP 3 MultiUser [closed]
- Domain redirect in WordPress multisite
- Why wordpress multisite redirect to wp-signup if site exists?
- Sub-subdomain getting redirected to main domain
- How to exclude a directory from WordPress permalinks in a Multisite environment?
- WordPress mutisite migration
- How to disable the default WordPress redirect to non-www URLs?
- Redirect subdomain in Multisite installation?
- Issue with htaccess redirection in WP Multisite
- Multisite setup help – plain domain/subsite always redirects to domain with subdir multisite
- Temp URL Redirect Loop
- Wrong Redirect/Rewrite Rules?
- Htaccess file isn’t redirecting http sub-pages to https––they display 404 error instead, tried many solutions and none work
- URL without www redirect directly with submission page – Multiwordpress install
- Multisite Redirection to new domains
- Redirect old uploads after moving to multisite
- WordPress: how to change URL for individual MultiSites?
- Multisite Subdomain Redirect Mask
- Cannot use Network Admin (Dashboard) on Multi-site after 301 www redirect
- Working with Reverse Proxies and Multisite Installation
- multisite 404 subfolder same name slug as site
- After switch domain, some parts of my site still point to my old domain
- How to make the redirects right? IP to domain name folders
- Redirect extra url to Multisite in folder
- External rewrite rules missing in htaccess – Multisite
- The wp-admin url for each site does not work on WordPress multisite
- Moving a WP Multisite to a subdirectory
- How to migrate subsite from dev multisite to production multisite
- Redirect Main Site to Subsite in Multisite WordPress
- Why is WordPress Multisite redirecting to wp-signup.php and how to fix it?
- multisite 404 error for subdirectory
- Multisite htaccess on localhost with WP as an SVN external?
- WP-Admin not working properly at WordPress multisite with subdirectories
- WP-CLI methods for get_current_blog_id, get_blog_details or $wpdb->prefix
- How to disable Multisite sign-up page?
- WordPress multisite,several different languages,page redirect?
- Multisite Subdomains result in 403 Forbidden
- Multisite: Develop locally using production images with .htaccess
- Multisite 404 errors and non-www redirecting to home page
- Transfer Subdomain site to Multisite setup
- How to prevent hotlinking with htaccess in WordPress and why most common use about it doesn’t work?
- 302 redirect instead of 301 after switch to HTTPS
- Which is the recommended method to transfer a wordpress site to wordpress Multisite?
- Multisite wordpress and subdomain URL collisions
- Error 101 after upgrading WordPress
- Nginx rules for subdomain multisite install (Bedrock)
- Protect Uploads in Multisite
- Redirect all users, except network administrators, from the main site to a subsite
- Basically the opposite MultiSite URL question that most people ask
- Multisite wp-admin redirect loop
- Multisite non-www domain redirects to sign-up
- How to migrate WordPress Blogs into Multisite without using the GUI-Import/Export Feature
- WordPress network (multisite) /wp-admin/ redirect loop (ERR_TOO_MANY_REDIRECTS)
- Suppress subdirectory from WordPress Multisite primary URL
- Multisite – Redirect All Users to Subsite Home Page on Subsite Login
- Multisite non www domain gives registration error but should redirect to www.domain.com
- Move a WordPress multisite to subfolder (the whole site)?
- 301 Redirects for posts, category, pages from original domain to sub-domain of multisite
- Migrating WPMS from apache to IIS7 causes Database Error
- Copy site from one multisite to another
- How to change a WordPress network domain
- Trying to access second site dashboard on a multisite configuration proceeds to an error
- Redirect loop (only for multisite network admin)
- 500 error when using virtual host
- Trying to migrate a WordPress Multisite with Domain Mapping
- WordPress Multisite Login Access
- WordPress multisite htaccess
- Multisite without .htaccess
- Issue converting single site to multi-site – blogs.dir folder not created
- .htaccess 301 vs. 302 Enforcing HTTPS
- Images uploading to wrong directory after changing to multisite
- Members area with externally-managed htaccess / htpasswd authentication?
- How to Move Local Singlesite Database to Remote Multsite Database?
- How to properly force https and www on multisite with Apache HTAccess
- Multisite network admin – URL / redirect error
- wordpress htaccess is hijacking my .mp4 files
- What is the best practice to get a site from local to online?
- Redirect subdomain homepage to domain specific page in wordpress multisite
- WordPress multisite subdirectory on nginx behind reverse proxy
- What should I do? A multisite, a single website or many websites? [closed]
- Multisite Redirect issue
- Dissolve Multisite while making site #5 the main site?
- How to Redirect login User with Mapped Domiain Primary blog Url to Original Sub-site Url
- Disable domain redirect
- Redirect users on logout
- Multisite, can’t see sub blogs
- Multisite, multiple domains per site
- Migrate a WP website from a single-server single-domain to a multi-server multi-domain installation
- Multisite Network menu links not updating
- Create rewriterules for different domains in htaccess file with WP multisite
- Migrating Multisite – Database error, missing wp_blogs table
- https redirect hell (adding www)
- WordPress multisite in subdirectory, not root, and remove base folder from url
- Auto Redirect after login
- WPMU Development Environment
- Site kit Google Analytics setup giving Error: {“error”:”invalid ‘redirect_uri'”}