I have installed Wordpress and crated a sub-directory in my root folder which contain css, javascript and html file in it for example
www.domain.com/mysubdir/index.htm
I would like to use Wordpress authentication to login before going to this page but I don't know exactly why, I tried using plugin to restrict access to Wordpress (plugin name ultimate member) but I still can see the page
www.domain.com/mysubdir/index.htm
even though I logout of the Wordpress,
Is there anyway to make this work, do I have to convert my static site into Wordpress template? or is there any solution like plugin to make this work?
Thank you in advance
source https://stackoverflow.com/questions/68565941/how-to-force-user-to-login-before-viewing-a-static-site-inside-wordpress
Comments
Post a Comment