TOO_MANY_REDIRECTS

renske
14 years, 1 month ago
Hi, I've made a subdomein and pinted it to the main directory.

But when i visit my site on my phone, www is replaced by m. but m. directs to the main domain and mobile Joomla is pointing to the subdomain. After a while i get the error TOO_MANY_REDIRECTS (te veel om leidingen.)
Seems logical. What am i doing wrong?
Thanks, Paul.
dryabov
14 years, 1 month ago
What is the url?
renske
14 years, 1 month ago
Oh, sorry

The URL = www.renske.com and m.renske.com

Paul.
dryabov
14 years, 1 month ago
Check your .htaccess: seems there is 301 redirect to www.renske.com.
renske
14 years, 1 month ago
Yes, thats correct. The httaccess is: RedirectMatch permanent ^/$ www.renske.com

But i need that to point the subdirectory to the main directory, dont i?
I have Plesk and dont know how to point the subdirectory to the main directory in an other way.
renske
14 years, 1 month ago
no one?
dryabov
14 years, 1 month ago
Plesk allows to specify "Document root" path for subdomain, so just make it identical to Docroot for main domain.
renske
14 years, 1 month ago
Hi,

I asked our provider, but thats not possible because we are on a shared server, not a dedicated server.
Is there an orther optin for us?
dryabov
14 years, 1 month ago
What is full pathes to maindomain and subdomain directories? Is subdomain in a subdirectory of maindomain directory?
renske
14 years, 1 month ago
Hi,
Main domain = /home/vhosts/renske.com/httpdocs
Subdomein=/home/vhosts/renske.com/subdomains/m/httpdocs
1

By continuing to use this site you consent to the use of cookies on your device as described in our cookie policy unless you have disabled them. This site will not function correctly without cookies.

I accept cookies from this site.