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
- Moving a WP Multisite to a subdirectory
- multisite 404 error for subdirectory
- Multisite htaccess on localhost with WP as an SVN external?
- Multisite Subdomains result in 403 Forbidden
- Multisite: Develop locally using production images with .htaccess
- Multisite 404 errors and non-www redirecting to home page
- 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
- Error 101 after upgrading WordPress
- Redirect all users, except network administrators, from the main site to a subsite
- Multisite non-www domain redirects to sign-up
- Multisite non www domain gives registration error but should redirect to www.domain.com
- 301 Redirects for posts, category, pages from original domain to sub-domain of multisite
- Redirect loop (only for multisite network admin)
- Trying to migrate a WordPress Multisite with Domain Mapping
- WordPress Multisite Login Access
- WordPress multisite htaccess
- wordpress htaccess is hijacking my .mp4 files
- 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
- Migrating Multisite – Database error, missing wp_blogs table
- Auto Redirect after login
- Site kit Google Analytics setup giving Error: {“error”:”invalid ‘redirect_uri'”}
- All pages have 302 redirect, which I can’t remove
- Multsite redirecting to the main site
- WordPress Multi-Site on Ubuntu 18.04 LAMP Keeps Re-Directing
- htaccess file for multiple CMS’s (multisite wordpress + wolfcms) on same domain but different subdirectories
- Adding a existing developed site to a multisite installation of WordPress
- Redirect One Multisite to Another
- 301’s not working with multisite
- WordPress sub-domain multisite 505 error
- Redirect to localhost after installing Multisite on server
- How to protect specific uploaded files from being accessed by non-logged-in users in WP-multisite
- new multisite, old db
- Multisite install w/ Sub domains on a subdomain
- Hosting 2 WordPress websites in /public_html/ & /public_html/subdirectory/ at the same time
- Detach site from multisite (turn off multisite)
- How to Deny Access to No Referrer Requests on Multiste with Mapped domains
- WordPress Multisite and how to apply sef urls only to specific sites
- How many .htaccess files should a WordPress multisite (subdirectory set up) have?
- Multisite htaccess file causing segfault (Segmentation fault 11)
- Migration: previous URL redirection after migrating
- how to convert a wp multisite into a single site with content from subsites
- Rewriting request to another site
- How to migrate post media from stand-alone to multisite build
- Multisite network admin login redirect
- Multisite wp-admin redirecting to main wp-admin using NGINX
- Moving wordpress multisite to new domain
- Multisite htaccess with domain rewrites
- Send data from one WP instance to another and process it there
- Multisite WordPress Configurtion
- All Subsites of a WordPress Multisite install 302 redirects to the main site
- How To Change the URL of a WordPress Multisite
- Multisite, different domains, optional subdirectory, and htaccess
- WP Multisite .htaccess interferes with cgi-bin
- Redirect all users, except network administrators, from the main site to a subsite
- Admin user getting redirected to /wp-admin/user
- Make a select where the options are the different multisites
- Migration from old CMS to WordPress 301 redirection rules?
- How to redirect author subdomain pages to each author pages on www
- Is there a way to have wordpress 301 versus 302 urls by default?
- How to install wpengine hosted multisite locally
- Development (multi)site indexed – recommendations to redirect 301 to correct url?
- Nginx Multisite redirects (incorrectly) on Chrome IE and Mobile, but works (correctly) on Firefox
- Permalinks in Multisite not working
- Subdomain add comment redirect to 404 not found page iis server
- Multisite website configure Domain issue
- 404 error in dashboard of subdomain of multisite
- Multisite Primary Domain Broken All Subsites Work
- Make multisite non-existing subdomains go to homepage instead of Index of/ page