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
- How to migrate subsite from dev multisite to production multisite
- WP-CLI methods for get_current_blog_id, get_blog_details or $wpdb->prefix
- Which is the recommended method to transfer a wordpress site to wordpress Multisite?
- Nginx rules for subdomain multisite install (Bedrock)
- Protect Uploads in Multisite
- Multisite without .htaccess
- Issue converting single site to multi-site – blogs.dir folder not created
- Images uploading to wrong directory after changing to multisite
- How to properly force https and www on multisite with Apache HTAccess
- What is the best practice to get a site from local to online?
- Redirect subdomain homepage to domain specific page in wordpress multisite
- Multisite Redirect issue
- How to Redirect login User with Mapped Domiain Primary blog Url to Original Sub-site Url
- Multisite, can’t see sub blogs
- https redirect hell (adding www)
- Why my deleted url is redirecting to random post?
- add_rewrite_rule on multisite doesn’t work
- Redirect & permalink problems after moving multisite to a new server
- Installed domain-based Multisite but can’t access wp-admin (redirect loop)
- Multisite – 404 when accessing sub-sites
- Redirect Site Geologically
- How to configure Multisite Network with randomized hostnames?
- Migrating wordpress multisite and domain mapping plugin
- WordPress Multisite Strange Redirect on Primary Site
- WordPress Multisite’s in subdirectory not redirecting to dashboard settings
- .htaccess rules for blocking bots with an extra condition
- Wrong filepaths and admin page infinite reload after migrating to aws bitnami
- WordPress multisite .htaccess causes 500 error on old *.php URLs
- Site redirecting to http://example.com/wp-signup.php?new=example.com
- Run additional service on domain with WordPress Multisite?
- How to host unrelated pages on WordPress domain
- 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
- Multisite Redirect for Home Page Only
- 404 not working on main site on multisite
- 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
- Redirecting specific sites to HTTP in WordPress Multisite
- Rewriting request to another site
- Multisite wp-admin redirecting to main wp-admin using NGINX
- trying to install a wordpress multisite in a subfolder and have custom subsite urls
- 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
- How To Change the URL of a WordPress Multisite
- Multisite login and redirect to users main blog,
- 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
- How do I make a copy of WordPress to other folder
- Development (multi)site indexed – recommendations to redirect 301 to correct url?
- Redirect authors from upload.php url to Home page in Multisite
- Nginx Multisite redirects (incorrectly) on Chrome IE and Mobile, but works (correctly) on Firefox
- Permalinks in Multisite not working
- How to redirect root blog to a specific one in multilang WP?
- Subdomain add comment redirect to 404 not found page iis server
- Multisite website configure Domain issue
- 404 error in dashboard of subdomain of multisite
- WordPress multisite with different sites for every language. How can I set the site based on the users browser location or language?
- Show 404 when someone visits a non-existant Multisite site