Skip to content

Sub Domain Folder Mapping

Choose a tag to compare

@m2de m2de released this 10 May 08:05
· 64 commits to master since this release

You can now correctly map any first level page (e.g. /careers) to a sub-domain, careers.mydomain.com and this package will automatically redirect to the correct full url when using the correct route domain.pages.show or when a page is access on the root domain.

If you are using Domain Maps already it is important to note that you will need to ensure that any non-page routes in your app go to the the correct domain name. We recommend always routing to full URLs rather than relative path.

If you are not using the domain map already, this should be fully backwards compatible and not affect existing installations.