I have a website that has 10 domain pointers they all point to the master-domain. I use this code in the .htaccess
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} !masterdomain.com$ [NC]
RewriteRule ^(.*)$ https://masterdomain.com/$1 [L,R=301] [R,L]
It works but I want https://masterdomain.com/administrator to point to https://licencepointerdomain.com/administrator/*
I tried :
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ! masterdomain.com$ [NC]
RewriteCond %{REQUEST_URI} !^/administrator/?$ [NC]
RewriteRule ^(.*)$ https://masterdomain.com/$1 [L,R=301] [R,L]
what am I doing wrong here?