Question on Password Protecting Directories

Jan 27, 2013
6
0
1
cPanel Access Level
Website Owner
Hello All,

I have a question regarding password protection.
In my website domain.com, I have password protected the following directories:

cgi-bin
wp-admin
wp-includes

When I log-in to my site domain.com and click the SAMPLE PAGE link in the menu, it asks for credentials for wp-includes. but when I click cancel, it brings me to the page for SAMPLE PAGE.

Questions:
1. I believe the SAMPLE PAGE page is not under the wp-includes folder, but why does it ask for password for wp-includes?

2. I'm not sure if my second question falls under the scope of this forum, but I would just like to know if what are the directories that I should password protect to improve my site security. My website has been hacked twice and I am starting from scratch again.

Thanks!
 

Infopro

Well-Known Member
May 20, 2003
17,113
507
613
Pennsylvania
cPanel Access Level
Root Administrator
Twitter
You would do better to ask this question on the wordpress.org support site. For example:
/http://wordpress.org/support/topic/password-protect-a-whole-directory

That said, when you enter one directory that's calling files from another directory that's password protected, you might experience what you mention.

Wordpress security questions are best answered on the wordpress site.


GL!