How do I limit access to my entire website with a username and password?
Autor: Anton Tajanlangit
Visited 1123,
Followers 1,
Udostępniony 0
I am still in the process of building my website and I want it to be online, but it should only be available to me alone with a username and password. I mean access to the home page should first be available through a username-password combination.
Please guide me step-by-step. Thanks!
Posted on the
just lock the homepage, thats all you need to do, and give access to your self or other users with username and pass.
if you want to know how to lock a page or create user, go to tut.usx5.com
if this post is the correct answer, please mark this answer as correct answer.
------------------------------------------------------------
Good Luck
https://nuluhost.com (compatible with x5 program, 30 days money back guarantee)
http://www.wdesigners.us (new)
http://www.usx5.com (coming soon)(Sign up)
Autor
The home page cannot be locked. The lock icon is greyed out when the home page is selected in Step 2. The lock icon is active only on all the other pages.
create another page and lock it, select your new page and go to properties, se what is the file name of that page (for example "newhome")
back to step2, select your home page, go to properties, go to expert tab and add this code inside head section of the homepage
<metahttp-equiv="refresh"content="0; url=http://example.com/newhome.html"/>
change the address in this code to your proper address. this code will redirect your home page to your locked page.
if this post is the correct answer, please mark this answer as correct answer.
------------------------------------------------------------
Good Luck
https://nuluhost.com (compatible with x5 program, 30 days money back guarantee)
http://www.wdesigners.us (new)
http://www.usx5.com (coming soon)(Sign up)
Autor
Anthony, if the username or password entered is wrong, the user is taken into an Automatic Registration page. How do I get him to go back to the initial page to try to enter the correct username-password combination again? The Automatic Registration page has all the links to the web pages in the navigation bar so it's just like he's entered the site already.
Autor
By the way, I'm using Website X5 Evolution ver. 10.1.6.50.
Hello Anton,
Did you set all pages of your project in step 2 as locked?
If you did so the links will all open the login form and the content will be visible only once the user has logged in.
Many thanks!
Autor
Claudio D., I wanted to send the user back to the Welcome Page (which is nothing but a blank page with the username-password fields), if a wrong username or password is entered. Right now, even with the wrong credentials, he is sent to the home page where "Automatic Registration" is shown. Although he cannot enter the links in the navigation bar (because I locked all of them as you instructed), he can still see the format and layout of the website.
Can we send him back to the Welcome Page so he sees nothing but the same blank page if he typed something wrong?
Autor
I found out the correct solution. All I had to do was go to the Properties section of the Automatic Registration page on Step 2, and on the Graphic tab I checked "Create the Page without the Template." Voila! Added to Anthony A's instructions, everything was what I wanted it to be.