Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Subsite "main page" & ERR_TOO_MANY_REDIRECTS


Go to End


5 Posts   1733 Views

Avatar
TPH

Community Member, 3 Posts

11 January 2015 at 1:16am

What could be the problem? My browser gives ERR_TOO_MANY_REDIRECTS when trying to access http://subdomain.domain.com, but if using http://subdomain.domain.com/page everything works fine.

Avatar
TPH

Community Member, 3 Posts

20 January 2015 at 12:00am

Anyone?

1. I have added domain sub.domain.com to subsites.
2. I hava added ServerAlias sub.domain.com to VirtualHost

I assume that VirtualHost configuration is working, because if I remove that subdomain from SilverStripe configuration, sub.domain.com opens the main page, but if I add the domain to subsites configuration again, I get this error ERR_TOO_MANY_REDIRECTS.

Avatar
TPH

Community Member, 3 Posts

20 January 2015 at 12:54am

Well, I figured it out myself :D "Homepage" of subsite has to named "home", anything else gives this redirection error.

Avatar
cmc

Community Member, 33 Posts

27 January 2016 at 5:15pm

Edited: 27/01/2016 5:16pm

Thanks for taking the time to post your solution!

I'd add that the url segment needs to be 'home'. Page name can be something else.

Avatar
alexzane

Community Member, 1 Post

1 February 2016 at 11:40pm

Thanks your Solution is valuable for me.I am suffering same problem from last few days.