View Full Version : Work on a subdomain/ Install copy script on a subdomain

Alexandre Bonneau
March 3, 2019, 02:28 PM
Hello dear community,

Alexandre Bonneau
March 3, 2019, 04:12 PM

I have domain.com where is my website
I created subdomain: test.domain.com

I have created two directories for site files :

Two database. I have connected the second database to the subdomainfolder changing config.inc.php and changed ROOT and URL

I have ERR_TOO_MANY_REDIRECTS.... please HElppp
do i need to change something in htacess?? WHERE PLEASE

Regards !

March 4, 2019, 02:33 AM

in htaccess find a row # wildcard request

add below the following:

RewriteCond %{HTTP_HOST} !^test\. [NC]

also in config.inc.php set RL_DIR as ''

otherwise, create a ticket

Alexandre Bonneau
March 4, 2019, 09:25 AM
Hello Rudy thank you for you answer,

I have added the line
RewriteCond %{HTTP_HOST} !^test\. [NC]

under # wildcard request row but still have error_too_many redirects

I have also tried to replace all the domain.com to test.domain.com in text editor for files folder but still have this error of too many redirects ...

could you please help me ...

Regards !