This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
tsioukas
If it’s possible maybe it’s good to add in CMS a subdomain option with wildcard support.
Now in a simple page someone sets Title and URL. If you create a field like SubDomain these page settings can lead into another page.
Here are some examples.
- Request URL : www.example.com
- URL = /
- SubDomain = empty or www (of course it’s better to ignore www for compatibility reason)
-
FileName = home.htm
- Request URL : client.example.com
- URL = / or /:slug
- SubDomain = :clientname
-
FileName = client.htm
- Request URL : admin.example.com
- URL = /:slug
- SubDomain = admin
- FileName = admin.htm
This would be great if will be on a future update.
Thanks
Last updated
1-4 of 4