Mike Rockett Posted March 17, 2015 Share Posted March 17, 2015 I'd like to be able to access the back-end of each site I create from a sub-domain. I'm sure this is quite possible, I just don't know what route to take, considering that PW does not take this into account (not designed to allow for it). I'd also like it if I could redirect from /processwire to siteadmin.example.com (for example). Sure, this is just a semantics thing, and doesn't have anything to do with security. That said, I do create a bunch of other sub-domains for my clients so that they can manage their email accounts, signatures, etc. As such, I'd like everything to follow a pattern. Is this possible at all? How would I go about it? Link to comment Share on other sites More sharing options...
LostKobrakai Posted March 17, 2015 Share Posted March 17, 2015 The easiest way would probably be redirecting the requests of the subdomain to the admin backend via .htaccess. Or maybe use symlinks to the folders and just use .htaccess to remove the "/processwire" part of the url. Or map both domains to the same folder and use .htaccess to do stuff dependent on the domain. So it should be no problem, just a bit of rewrite trickery. Link to comment Share on other sites More sharing options...
Mike Rockett Posted March 17, 2015 Author Share Posted March 17, 2015 Yeah, that's what I thought... Going to give it a try now now. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now