How do I make it so the folder isn't viewable to the outside world. I created a login page which is login.php but when you type in examplesite.com/admin it shows everything inside the folder.. How would I hide all that? - Is that a .htaccess thing?
xbat
-4
Junior Poster in Training
Banned
Recommended Answers
Jump to PostUsually you can set this in your control panel. In .htaccess I think it is:
Options -Indexes
Jump to PostThat's what you asked for. Or do you want to password protect the folder? That option is somewhere in your cPanel (or whichever control panel you use).
All 6 Replies
pritaeas
2,194
¯\_(ツ)_/¯
Moderator
Featured Poster
xbat
-4
Junior Poster in Training
Banned
pritaeas
2,194
¯\_(ツ)_/¯
Moderator
Featured Poster
xbat
-4
Junior Poster in Training
Banned
JorgeM
958
Problem Solver
Team Colleague
Featured Poster
pritaeas
2,194
¯\_(ツ)_/¯
Moderator
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.