Need help creating login html code for my website.

  • 1
  • Question
  • Updated 8 years ago
How can I put a username and password login on my home/index page? Does anyone know any html code? I'm having trouble. I'm building a family website and I would like a required password to enter the site.
Photo of Dnett

Dnett

  • 23 Posts
  • 1 Reply Like
  • anxious

Posted 8 years ago

  • 1
Photo of Emmy

Emmy

  • 5892 Posts
  • 299 Reply Likes
Hello Dnett,
Yola allows you to create a private website, or make part of your site private, by password protecting certain pages on your site.

What this feature allows you to do:

1. Assign a single login ID (username) and password to your site.
2. Choose whether you want to lock (password protect) all the pages on your site.
3. You can then share the login ID and password with people you want to give access to the protected pages.
4. When they access those pages they will be asked to type in the login ID and password before being given access.

What this feature does not do:

1. Allow people to register for a username and password on your site. This is a registration feature which we hope to release in future.

How to use the Password Protection feature:

1. Click on the "Site Manager" tab.
2. Click on "Site Password Protection" underneath the list of pages of your site.
3. Add a login name and password and tick the pages you would like to protect.
4. You can easily protect all your pages by clicking on "Lock All" or take off the password protection by clicking on "Unlock All".
5. When you create a new page, you will see a check box that gives you an option to protect (lock) the new page.
6. Preview your protected page to see what the login form will look like and to test your log in and password.
7. To make the change effective on your live site, click on the green "Publish to the web" button.

I hope this information is helpful!

Kind Regards,
Emmy
Photo of Dnett

Dnett

  • 23 Posts
  • 1 Reply Like
Hey thanks Emmy! This is what I was looking for! And I'm glad that I was able to do this in-house with Yola.

Thanks again.