Hello,
I noticed something weird which bothered me. I'd like your assistance to verify that i don't understand anything wrong.
We make redirections through the .htaccess file on public_html. Nothing new, have been using it for many years.
Had to create a new subdomain on cPanel -> Domains -> Domains.
On .htaccess we have a redirection for example.com/somefolder to subdomain1.example.com which is made with
On cPanel -> Domains -> Domains it shows the following
However, our main domain certainly does not redirect to /somefolder/ which is rather confusing.
I also tried the simple Redirect and it also gives me the same result on List Domains.
What i'm getting wrong here?
Kindest regards
I noticed something weird which bothered me. I'd like your assistance to verify that i don't understand anything wrong.
We make redirections through the .htaccess file on public_html. Nothing new, have been using it for many years.
Had to create a new subdomain on cPanel -> Domains -> Domains.
On .htaccess we have a redirection for example.com/somefolder to subdomain1.example.com which is made with
<IfModule mod_rewrite.c>
RewriteEngine On
RedirectMatch 301 /somefolder/ subdomain1.example.com
</IfModule>
On cPanel -> Domains -> Domains it shows the following
Domain | Document Root | Redirects To | Force HTTPS Redirect |
example.com (main domain) | /public_html | Off |
However, our main domain certainly does not redirect to /somefolder/ which is rather confusing.
I also tried the simple Redirect and it also gives me the same result on List Domains.
What i'm getting wrong here?
Kindest regards