How to redirect User to user login page instead of Gallery

I installed Zen Photo today... installation was pretty easy.. when user comes and types "http://localhost/zenphoto/" the page will be redirected to view gallery page....But, i want it to redirect to admin page and then only the user can view the gallery page...... if you find any solution for me.. please let me know.. thanks is advance

Comments

  • I may be wrong, but I am assuming what you really want is to require the user to log in before viewing the gallery. Is that correct? Then set a guest password on the gallery from the gallery options tab.

    If you just want the user to go to the admin page have him enter `http://localhost/zenphoto/admin`. `http://localhost/zenphoto/` is treated by the web server as a request for the "home page" of that folder. Home pages are defined as index.xxx where xxx is usually html, htm, php, etc. depending on your server configuration. So what you are really asking is that the admin pages be your "home page". This would not be useful in a Zenphoto environment the standard links to the gallery assume that index.php is the home page.
Sign In or Register to comment.