I do have a static HTML website which is working with JS and PHP. I would like to upload it to WordPress and make it accessible only with a password. Is this possible?

Regarding uploading:

  • I was able to upload folder which includes HTML, JS and PHP to /public_html/MyDomain/My_Static_Website. So I was able to access to my website over the URL: www.MyDomain.com/My_Static_Website.

But unfortunately I can't add it like a page, to make it password protected. Is there a easy way to do it?


You could create your own PHP template to be used with specific pages.

  • Please add an explanation to your answer: why and how could that solve the problem?
    – Sven
    Dec 31 '18 at 3:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.