Create a hidden login page
Moderator: General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
-
- Joomla! Apprentice
- Posts: 35
- Joined: Thu Aug 23, 2007 10:42 am
Create a hidden login page
Hi, still feeling my way, but getting there.
My users want to be able to login to the site, but don't want external general public users to see the login form.
I was thinking of giving them a private page that includes the login form, but I can't work out how to do that without having it on the menu somewhere.
How can I achieve this?
(My reason for wanting this is that the users want to log in so that they can edit in place on the site, and they don't want to have to work with the backed administration module to find their articles for editing.
My users want to be able to login to the site, but don't want external general public users to see the login form.
I was thinking of giving them a private page that includes the login form, but I can't work out how to do that without having it on the menu somewhere.
How can I achieve this?
(My reason for wanting this is that the users want to log in so that they can edit in place on the site, and they don't want to have to work with the backed administration module to find their articles for editing.
- Peter Clements
- Joomla! Enthusiast
- Posts: 172
- Joined: Tue Nov 08, 2005 12:58 pm
- Location: England
- Contact:
Re: Create a hidden login page
You can put the link to the page with the login form on a hidden menu, i.e. one that is not published anywhere on the site, then just give your members the URL/alias of that link. This is what I've done on a site soon to go live.
I wonder if it's possible to create a directory, say for the sake of argument "login", which is password protected with HTAccess and have your link on the hidden menu to point to something like "login/login-form". This should force users to have to authenticate before logging in with their Joomla! user name and password. That might be a bit too much (if it would even work)!
I wonder if it's possible to create a directory, say for the sake of argument "login", which is password protected with HTAccess and have your link on the hidden menu to point to something like "login/login-form". This should force users to have to authenticate before logging in with their Joomla! user name and password. That might be a bit too much (if it would even work)!
- Lipton
- Joomla! Apprentice
- Posts: 29
- Joined: Mon Jun 19, 2006 3:32 pm
- Location: Germany
- Contact:
Re: Create a hidden login page
I also would like to know how to make that best. When I disabled the front-end login in the Configuration, then I would not be able to login anyhow, right ? If i would have a secret login menu or not ?
Because as long as the front end login is still allowed, people with some Joomla knowledge can easily find out where to get to the login fields, even if there would not be a link that points to login. So its kinda unsecure to keep it enabled. It would be much easier if I could just login into the Back End and would also be automatically logged in as Front End user with Admin priviliges too. That isnt possible, right ?
Lipton
Because as long as the front end login is still allowed, people with some Joomla knowledge can easily find out where to get to the login fields, even if there would not be a link that points to login. So its kinda unsecure to keep it enabled. It would be much easier if I could just login into the Back End and would also be automatically logged in as Front End user with Admin priviliges too. That isnt possible, right ?
Lipton
-
- Joomla! Fledgling
- Posts: 1
- Joined: Sun Mar 09, 2008 1:39 am
Re: Create a hidden login page
Hi - I am also curious about how to set something like this up. Does anyone have a definitive answer on this? Many thanks,
mider
mider
- Hackwar
- Joomla! Virtuoso
- Posts: 3788
- Joined: Fri Sep 16, 2005 8:41 pm
- Location: NRW - Germany
- Contact:
Re: Create a hidden login page
just use this url
index.php?option=com_user&view=login
index.php?option=com_user&view=login
god doesn't play dice with the universe. not after that drunken night with the devil where he lost classical mechanics in a game of craps.
Since the creation of the Internet, the Earth's rotation has been fueled, primarily, by the collective spinning of English teachers in their graves.
Since the creation of the Internet, the Earth's rotation has been fueled, primarily, by the collective spinning of English teachers in their graves.
-
- Joomla! Apprentice
- Posts: 15
- Joined: Sat Jan 14, 2006 8:06 pm
Re: Create a hidden login page
I tried that but I get the messageHackwar wrote:just use this url
index.php?option=com_user&view=login
You are not authorised to view this resource.
You need to login.
-
- Joomla! Apprentice
- Posts: 14
- Joined: Fri Apr 04, 2008 1:59 pm
Re: Create a hidden login page
What irony...
-
- Joomla! Apprentice
- Posts: 25
- Joined: Sun Mar 30, 2008 10:30 pm
Re: Create a hidden login page
I got this to work.
My login module is enabled (published), but not linked to any menu items (so it doesn't display).
I used my domain manager to create a subdomain (login.domain.com) that points to http://www.domain.com/index.php?option= ... view=login.
Works beautifully... by using a subdomain, you don't have to try to remember the long login address... particularly if you're away from your computer.
My login module is enabled (published), but not linked to any menu items (so it doesn't display).
I used my domain manager to create a subdomain (login.domain.com) that points to http://www.domain.com/index.php?option= ... view=login.
Works beautifully... by using a subdomain, you don't have to try to remember the long login address... particularly if you're away from your computer.
-
- Joomla! Apprentice
- Posts: 8
- Joined: Sat Aug 02, 2008 2:10 am
Re: Create a hidden login page
I tried the above but i get the following error:
Any ideas?You are not authorised to view this resource.
You need to login.
-
- Joomla! Apprentice
- Posts: 8
- Joined: Sat Aug 02, 2008 2:10 am
Re: Create a hidden login page
Solution - if you have problems with the above URL, use the following URL:
http://www.domain.com/index.php?option= ... n&Itemid=1
http://www.domain.com/index.php?option= ... n&Itemid=1
-
- Joomla! Apprentice
- Posts: 5
- Joined: Thu Jun 26, 2008 4:51 am
Re: Create a hidden login page
Question: If I have a login form on the main page which then redirects (if successfully logged in) to a restricted access area - is that not secure enough?
- gcoulter
- Joomla! Apprentice
- Posts: 5
- Joined: Wed Nov 29, 2006 12:27 pm
- Location: Banbridge, Northern Ireland
- Contact:
Re: Create a hidden login page
Hi
Being trying to do the same, it didn't work initially, got the "you are not allowed to view this resource" message. However went back into the module and on the menu items link, changed it to unassigned. Works now using http://www.mydomain.com/index.php?optio ... view=login
You could also create a page not linked to a menu and use the mambot to insert the login module e.g. {mosloadposition user9} (for version 1.0) into that page. This also gives you the option to put a piece of text above the module. Then create a link with the correct page id at the end.
Graham
Being trying to do the same, it didn't work initially, got the "you are not allowed to view this resource" message. However went back into the module and on the menu items link, changed it to unassigned. Works now using http://www.mydomain.com/index.php?optio ... view=login
You could also create a page not linked to a menu and use the mambot to insert the login module e.g. {mosloadposition user9} (for version 1.0) into that page. This also gives you the option to put a piece of text above the module. Then create a link with the correct page id at the end.
Graham
Last edited by pe7er on Thu Jan 14, 2010 11:57 pm, edited 1 time in total.
Reason: Manual signature removed. Please use forum signature in profile instead...
Reason: Manual signature removed. Please use forum signature in profile instead...
-
- Joomla! Apprentice
- Posts: 5
- Joined: Mon Jan 05, 2009 10:40 am
Re: Create a hidden login page
Hey I am going to use this option, but in "Manage Modules" I go to the "mod_login" module. "Title" Login form.just use this url
index.php?option=com_user&view=login
And set the "Login Redirection Page" this works when loging in from the home page login section, but doesn't work when using this link.
"index.php?option=com_user&view=login"
Is there another place to set the redirection for this Link?
Hope it all made sense!
Cheers for help
-
- Joomla! Apprentice
- Posts: 5
- Joined: Mon Jan 05, 2009 10:40 am
Re: Create a hidden login page
Can anyone help me pls
-
- Joomla! Fledgling
- Posts: 2
- Joined: Wed Apr 08, 2009 1:30 pm
Re: Create a hidden login page
I was looking for the same thing. it is rather easy.
just make folder, mine is www.website.com/members
In this folder I have a index.php. In the index.php I wrote
<?php
header("Location: http://www.website.com/members"); /* Stuur de browser naar www.site.nl */
exit; /* Zorgt ervoor dat de overige code niet wordt uitgevoerd */
?>
et voila
just make folder, mine is www.website.com/members
In this folder I have a index.php. In the index.php I wrote
<?php
header("Location: http://www.website.com/members"); /* Stuur de browser naar www.site.nl */
exit; /* Zorgt ervoor dat de overige code niet wordt uitgevoerd */
?>
et voila
-
- Joomla! Intern
- Posts: 93
- Joined: Wed Dec 10, 2008 6:44 pm
Re: Create a hidden login page
Good Day to All,
Here's what I did so far, which does not work.
Made a new menu named Hidden Menu.
Created menu item login of default login layout Type.
Displayed in Hidden Menu
In module manager - chose mod_login and chose Login Form and selected "none" as the menu assignment
In the parameters of mod_login - Login Redirection Page - login
So when I try to get to the login page by navigation to http://www.mysite.com/index.php/login ,
I get a page that looks like a login form without the insert text boxes or text box description.
URL - http://www.vstudios.ca
Login addy http://www.vstudios.ca/index.php/login
I hope this is not too confusing.
Jeff
Here's what I did so far, which does not work.
Made a new menu named Hidden Menu.
Created menu item login of default login layout Type.
Displayed in Hidden Menu
In module manager - chose mod_login and chose Login Form and selected "none" as the menu assignment
In the parameters of mod_login - Login Redirection Page - login
So when I try to get to the login page by navigation to http://www.mysite.com/index.php/login ,
I get a page that looks like a login form without the insert text boxes or text box description.
URL - http://www.vstudios.ca
Login addy http://www.vstudios.ca/index.php/login
I hope this is not too confusing.
Jeff
-
- Joomla! Intern
- Posts: 93
- Joined: Wed Dec 10, 2008 6:44 pm
Re: Create a hidden login page
OK here's the update. The procedure I followed was correct. My problem was a template css issue. The text boxes were outside the wrapper div. I had to adjust and make new div id's and in order to get the text boxes in the proper place. Once that was done the hidden login worked flawlessly.
The reason to make the new div id's was once the original text boxes id's were moved, it adjusted the size of the editing text box once logged in. It appears in most templates the login and article editing boxes are contained in the same div id.
The reason to make the new div id's was once the original text boxes id's were moved, it adjusted the size of the editing text box once logged in. It appears in most templates the login and article editing boxes are contained in the same div id.
-
- Joomla! Fledgling
- Posts: 2
- Joined: Sun Mar 14, 2010 7:10 pm
Re: Create a hidden login page
I am trying to do this, and everything seems to be working, except one problem.
I have removed the login box from the menus.
I have my domain set to redirect from login.mydomain.com to http://www.mydomain.com/index.php?optio ... view=login and that works correctly
but after someone logs in it redirects them to http://www.mydomain.com/index.php[b]/co ... /index.php[/b]
instead of http://www.mydomain.com/index.php
i cant figure out why
edit: Figured it out, its an issue with search engine friendly URLs, when i enable those it redirects me to locations where my template isnt working correctly. Its not an issue with the login or my redirect.
I have removed the login box from the menus.
I have my domain set to redirect from login.mydomain.com to http://www.mydomain.com/index.php?optio ... view=login and that works correctly
but after someone logs in it redirects them to http://www.mydomain.com/index.php[b]/co ... /index.php[/b]
instead of http://www.mydomain.com/index.php
i cant figure out why
edit: Figured it out, its an issue with search engine friendly URLs, when i enable those it redirects me to locations where my template isnt working correctly. Its not an issue with the login or my redirect.
- konworld
- Joomla! Apprentice
- Posts: 36
- Joined: Fri Oct 09, 2009 4:58 pm
Re: Create a hidden login page
so what was the issue after all, how did you solve it? maybe someone else can be helped by your answer.
DevilWebs Inc.
Kατασκευή Ιστοσελίδων, Ανάπτυξη Ιστοσελίδων & Ανάπτυξη Εφαρμογών - Σέρβις και Υποστήριξη Υπολογιστών
Αργοστόλι, Κεφαλονιά
http://www.devilwebs.gr
info[at]devilwebs.gr
Impossible is Nothing....
Kατασκευή Ιστοσελίδων, Ανάπτυξη Ιστοσελίδων & Ανάπτυξη Εφαρμογών - Σέρβις και Υποστήριξη Υπολογιστών
Αργοστόλι, Κεφαλονιά
http://www.devilwebs.gr
info[at]devilwebs.gr
Impossible is Nothing....
-
- Joomla! Fledgling
- Posts: 2
- Joined: Sun Mar 14, 2010 7:10 pm
Re: Create a hidden login page
I didnt solve it, I just shut off search engine friendly URLs and put it back to default.. it works fine now.
- snugsites
- Joomla! Apprentice
- Posts: 10
- Joined: Tue Jul 13, 2010 12:05 am
- Location: Melbourne, Australia
- Contact:
Re: Create a hidden login page
Here is my solution if you use (Search Engine Friendly URLs = Yes and Use Apache mod_rewrite = Yes)
Create Menu Item Type "Default Login Layout"
Title: Logout
Alias: staff
"Access Level:" Registered
"Parameters (System) Page Title" staff
"Parameters (System) Show the Page Title" No
Tell the user to log into the frontend by adding "/staff" to the URL.
Once logged in, they will see a new menu item "Logout".
Create Menu Item Type "Default Login Layout"
Title: Logout
Alias: staff
"Access Level:" Registered
"Parameters (System) Page Title" staff
"Parameters (System) Show the Page Title" No
Tell the user to log into the frontend by adding "/staff" to the URL.
Once logged in, they will see a new menu item "Logout".
-
- Joomla! Fledgling
- Posts: 2
- Joined: Fri Jan 02, 2009 11:27 pm
- Contact:
Re: Create a hidden login page
Wow, this worked INCREDIBLY well. Thanks a lot. ..snugsites wrote:Here is my solution if you use (Search Engine Friendly URLs = Yes and Use Apache mod_rewrite = Yes)
Create Menu Item Type "Default Login Layout"
Title: Logout
Alias: staff
"Access Level:" Registered
"Parameters (System) Page Title" staff
"Parameters (System) Show the Page Title" No
Tell the user to log into the frontend by adding "/staff" to the URL.
Once logged in, they will see a new menu item "Logout".
- ROED
- Joomla! Enthusiast
- Posts: 109
- Joined: Wed May 03, 2006 8:27 pm
- Location: Copenhagen
- Contact:
Re: Create a hidden login page
Any ideas how to accomplis this in Joomla 1.6? I have tried all of the above with out luck :-(
Thanks.
Thanks.
-
- Joomla! Fledgling
- Posts: 2
- Joined: Thu Jun 30, 2011 6:02 pm
Re: Create a hidden login page
I accomplished a hidden login page on Joomla 1.6 by doing the following:
1.Create a new "Login Form" link on the main menu and put it in an unpublished state.
2.Copy the menu link, in my case it was: "index.php?option=com_users&view=login"
3.Do as Dutchiexl suggests:
5.Then simply direct users who you want to login to the URL "http://www.website.com/members" and the index.php will direct your users straight to the login page!
Simple as all that.
Granted it's not a truly hidden form and the public could still access it, but it suits my purposes.
Love these forums, thought I'd put my two cents in.
God Bless
1.Create a new "Login Form" link on the main menu and put it in an unpublished state.
2.Copy the menu link, in my case it was: "index.php?option=com_users&view=login"
3.Do as Dutchiexl suggests:
4.Where it says: " http://www.website.com/members", just replace "members" with the login form link.Dutchiexl wrote:I was looking for the same thing. it is rather easy.
just make folder, mine is http://www.website.com/members
In this folder I have a index.php. In the index.php I wrote
<?php
header("Location: http://www.website.com/members"); /* Send the browser to http://www.site.nl */
exit; /* Ensures that the remaining code is executed */
?>
5.Then simply direct users who you want to login to the URL "http://www.website.com/members" and the index.php will direct your users straight to the login page!
Simple as all that.
Granted it's not a truly hidden form and the public could still access it, but it suits my purposes.
Love these forums, thought I'd put my two cents in.
God Bless
-
- Joomla! Fledgling
- Posts: 1
- Joined: Fri Dec 02, 2011 5:41 am
Re: Create a hidden login page
Wow! Works great!!snugsites wrote:Here is my solution if you use (Search Engine Friendly URLs = Yes and Use Apache mod_rewrite = Yes)
Tell the user to log into the frontend by adding "/staff" to the URL.
Once logged in, they will see a new menu item "Logout".
-
- Joomla! Intern
- Posts: 80
- Joined: Fri Jun 12, 2009 12:38 pm
- Location: Lyngdal, Norway
- Contact:
Re: Create a hidden login page
There should be a way that the "Editors" could just go to www.mydomain.com/administrator and login there and just get the "editor rights"
- bogeholm
- Joomla! Intern
- Posts: 76
- Joined: Fri May 05, 2006 12:27 pm
- Location: Ringsted
Re: Create a hidden login page
Hi,
Thanks - snugsites' solution worked perfectly in Joomla 1.7.3 for me
:-)
Thanks - snugsites' solution worked perfectly in Joomla 1.7.3 for me
:-)
If you never try - you never know
-
- Joomla! Apprentice
- Posts: 16
- Joined: Sun Aug 07, 2011 5:25 am
Re: Create a hidden login page
I found this to be a simple solution. Thank you. I'm using joomla 1.5PastorJon wrote:I used my domain manager to create a subdomain (login.domain.com) that points to http://www.domain.com/index.php?option= ... view=login.
I also have a web client who did not want the login to show on their site. Creating a very short subdomain name makes it easier for them to just type in a shorter URL, it redirects them to a login page. The login module is setup (I think by default) to redirect to the home page after logging in and logging out.
So now when they type in
subdomain.domain.com - they are redirected to the path for
domain.com/index.php?option=com_user&view=login
When they need to logout they can just enter the shorter subdomain.domain.com path to get to the login/logout module and click logout.
Cheers all.
-
- Joomla! Apprentice
- Posts: 11
- Joined: Wed Sep 18, 2013 11:26 pm
Re: Create a hidden login page
Snugsites your solution is brilliant!snugsites wrote:Here is my solution if you use (Search Engine Friendly URLs = Yes and Use Apache mod_rewrite = Yes)
Create Menu Item Type "Default Login Layout"
Title: Logout
Alias: staff
"Access Level:" Registered
"Parameters (System) Page Title" staff
"Parameters (System) Show the Page Title" No
Tell the user to log into the frontend by adding "/staff" to the URL.
Once logged in, they will see a new menu item "Logout".
It works in 3.3.1 too - Here's the changes there:
1. Click on Menus|main menu.
2. Click on NEW
3. Details tab
3.1 Click Select|Users Manager|Login Form
3.2 Access: Registered
3.3 Menu title: Logout
3.4 Alias: staff
4. Options Tab
4.1 Login Description: Hide
5. Page Display Tab
5.1 Browser Page Title: staff
login to the frontend http://www.mydomain.com/index.php/staff