Quantcast
Channel:
Viewing all articles
Browse latest Browse all 4235

Re: defining Homepage URL Segment

$
0
0

Looks like adding to _config is deprecated in SS3. http://doc.silverstripe.org/framework/en/reference/director

I'm trying to add to routes.yml, but it still makes a Home page with the URL of /home. The redirect seems to work, just don't want Home when I dev/build.

mysite/_config/routes.yml

---
Name: customroutes
After: '#coreroutes'
---
Director:
rules:
'': '->my-custom-homepage-url'

Any suggestions?

Thanks


Posted to: defining Homepage URL Segment | Show Thread | Post Reply


Viewing all articles
Browse latest Browse all 4235

Trending Articles