Good day to you all,
I recently bought a domain lets say for eg fo###-#####.com it has a large amount of subdomains around 350,
I wanted to re-direct all the subs to the root domain, I have had a look at the .htaccess of the /public.html folder and it contains this.
Could one of you clever people tell me what this below means in terms of redirecting and if it is redirecting does it transfer the sub domains authority to the root domain?
Thank you in advance.
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
RewriteCond %{HTTP_HOST} ^\*\.fo###\-####\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.\*\.fo###\-#####\.com$
RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteRule ^/?$ "http\:\/\/www\.fo###\-#####\.com" [R=301,L]
I recently bought a domain lets say for eg fo###-#####.com it has a large amount of subdomains around 350,
I wanted to re-direct all the subs to the root domain, I have had a look at the .htaccess of the /public.html folder and it contains this.
Could one of you clever people tell me what this below means in terms of redirecting and if it is redirecting does it transfer the sub domains authority to the root domain?
Thank you in advance.
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
RewriteCond %{HTTP_HOST} ^\*\.fo###\-####\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.\*\.fo###\-#####\.com$
RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteRule ^/?$ "http\:\/\/www\.fo###\-#####\.com" [R=301,L]