This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

My site will be reachable by at least two domains, maybe three, and I need to direct the user to a particular landing page depending on the domain they use. I've tried the Multisite plugin, but this is not what I'm wanting. It needs to be a single site.

What's the best approach? It would be a doddle using Laravel's routing, but I can't see how to achieve the same thing with October's implementation.

How about .htaccess?

https://stackoverflow.com/questions/7826356/how-to-redirect-multiple-domains-to-different-sub-directories-with-apache

or

https://octobercms.com/plugin/flynsarmy-redirection with some Regular Expressions (best option)

Last updated

1-2 of 2

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.