Hello everyone, a customer has asked me to make sure that the entire site is password protected. I told him that I could make it so that from the home page (which obviously contains the navigation menu) it would be impossible to go further without entering a user id and password. I tried to fiddle around with the login form, but I got stuck. Is anyone willing to give me a hand? Thank you so much.
@maxsanna, for starters do you have your login page set as the “home page” - right-hand panel?
The rest of the website would be assigned “regular pages” (which you can even place under a “Section”) and of course your home login page would redirect to the home page of your website with all your page navigation - not the login home page which is assigned “index.html”.
Hi FlaminFig, first of all thanks for your reply and thanks for your help. Yes, I would like my login page to be the home page, but if it were necessary or simpler, I could also make another completely blank one that precedes it and then takes me to the Home page from which navigation for the rest of the page would then start. site. I state that I would give the same user id and password to that dozen of people who will be authorized to enter the site…
Hello.
I’m sorry, but I don’t understand what exactly you want.
At the beginning you write that the whole site should be password protected. This includes the homepage. The easiest way is to use the files .htaccess and .htpassword on the webserver.
Now the homepage should be visible with a navigation, but only authorized visitors are allowed to navigate. Why show a navigation then?
I would design the homepage as a login page, without menu, and after successful login go to a subpage (a section could help here), which then has the navigation and everything else.
Mr. F.
Yes, I admit I explained myself badly. Thank you so much for the help. “I would design the homepage as a login page, without a menu, and after successful login go to a subpage (a section could help here), which then has the navigation and everything else.” This is exactly what I will do."