Tuesday, November 16, 2010

How to Password Protect Page in Weebly -No Pro!

Video Tutorial:





Here is a Html code link.
http://dl.dropbox.com/u/10106165/weeblypasswordprotect.txt

16 comments:

Anonymous said...

great but when i tried it kept on asking me the password when i entered it right and if i entered it wrong it would send me to the wrong page. please help

Andy said...

hi Anonymous ...
regarding to ur problem.. pls make sure tat the coding for the pagelink in your script is correct & also the password set is correct..

password set here is cool1
var ans="cool1"

alert("wrong password ") *when password wrong*
window.location="http://www.xxx.weebly.com/wrong.html";} *linkto your wrong page..pls change your own wrong pagelink*
else{window.location="http://www.xxx.weebly.com/home.html";}
*when password is correct linkto your homepage.. change to your own homepagelink here


here is my example for u... pass is "cool1" http://andycabin.weebly.com/index.html

after u tested ok.. remember to check the option for "Hide Page in navigation page" in ur HOME & Wrong password Pages.

Anonymous said...

Your link isn't working!

Andy said...

hi Anonymous ...

here is a link example page..

http://andycabin.weebly.com/index.html

just try...

Anonymous said...

Hi. I am using following code and it is working great.

The only problem I have is when it keeps asking for a password when I try to go back and forth between the page's documents. Any idea?

Thanks.

Apparently it won't allow me to post the whole code, but here is the link: http://pastebin.com/uV03dGpz

Anonymous said...

Hi, I tried to do it, with my weebly site, but when I entered the password, it led to the '404 Page not found' page. Why is that?

Andy said...

404 page not found... try to read this http://weeblyforums.com/2012/05/custom-404-page-in-weebly/

Anonymous said...

it keeps redirecting me to put in password even when its correct..?

Anonymous said...

I have created Weebly pages that I hid from the navigation menu, but it actually showed up when i searched on google. That defies the purpose of password protecting it… Any advice on that? Thanks!

deez nuts said...

Hi Andy,
I've been wondering how to change the password. I also do not know the password.
Thanks,
This is Kane Hasegawa and please reply RASAP

Anonymous said...

I just wanted to let everyone know that though this is a good idea it is impractical because you know the page url it isn't effective.

Jordan said...

earlier i posted about this not being practical but after playing with the code a bit i found a solution all you have to do is click on the link and copy and paste the code into a custom html box and set your password.

ajhsgaming.weebly.com/lockpage.html

Jordan said...

Kane I don't know if you still check this but if you do you can change the password under the var ans="cool1" cool1 being the default password.

Anonymous said...

Hi,

Your link for the tet file doesn't work. please sort that out.

http://doodle08.weebly.com/

Abdul said...

ur download link is not working

Unknown said...

bE GOOD IF IT WAS A BIT SLOWER SO YOU CAN FOLLOW IT

Share a Printer from XP to Windows 7/8/10

  Setup Printer Sharing Step 1 : First make sure that the printer on the XP machine is shared. You can do this by right-clicking on the prin...