Jump to content

Admin Only


FvG
 Share

Recommended Posts

Hey!

I'm looking for a way to make all site but /admin non-accessible. So if people try to access a site which is not /admin they should be redirected. What's the way to do it? Are there any hooks I can use to get this done? Or is .htaccess the way to go?

Thanks for your help!

Link to comment
Share on other sites

I'm also interested as there is one scenario for an intranet that I've got in my head where it wouldn't be a bad idea to have the whole thing as Process modules in the backend and simply not have a frontend.

The only problem there is that you still have to have the root page I guess, but it would be good to make something like /login/ the default page in this scenario and run the admin from just the root instead of /processwire/

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...