I made a domain name change from domaina.com to domainb.com and used a wild card redirect to match all URLs on another domain. I would like to make an exception where the homepage of domaina.com redirects to domainb.com/page.

Is this possible without messing up the functionality of this code (in .htacces of domaina.com) to match the URLs

#Options +FollowSymLinks
RewriteEngine on
RewriteRule ^(.*)$ http://domainb.com/$1 [R=301,L]

Thank you.


Read more here: Can we add exceptions to wild card redirects?


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Wordpress related questions and answers: