Can we add exceptions to wild card redirects?

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.

Regards,
Naser.

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

Leave a Reply

Your email address will not be published. Required fields are marked *