How to Hide Website Folder List/ Directory Structure /index of With .htaccess

Hi friends, in the following article I will give you a few tips that friends can do on the web project, especially in the security section. So when a user accesses a particular folder from a URL or a certain part of our website. When the folder does not have an index file or home page, for example: index.php, it will not automatically display the content in the form of a list of the contents of that directory. Instead of displaying the index page instead it displays the folder structure or file as follows. This is very dangerous, because everyone can see what's on our server.

of course we don't want users in general, especially hackers to know the folder structure of the web project they have. therefore we can prevent it or hide the structure not displayed. the way is to make one .htaccess file in the file we fill in Options -Indexes.

Options -Indexes

the command on the htacces means we prevent the folder or the file from being displayed. So if we access the browser we will get Forbidden Notification.

Okay, that's a little tips for friends how to prevent or hide the file structure or folder structure in htaccess files. So hopefully it is useful and thank you. There are a few tips for friends how to prevent or hide the file structure or folder structure in the htaccess file. So hopefully it's useful and thank you.

how to disable /index of with htaccess php, cara menghilangkan menyembuyikan halaman index of di halaman website dengan php htaccess

Related Posts:

Why is the Web considered to be heavy to the server but when moving hosting doesn't matter?

This question is often a common question for customers who have had experience being warned by the hoster that even their website was suspended on the grounds that your account is burdensome to servers, and uses a lot of server resources so it is recommended to upgrade to VPS.
This is a lot of causes, but we will try to explain it technically so that you are no longer confused and even bring up the assumption of negative assumptions and even disparaging the hosting provider used. Moving hosting is not a permanent solution, because there are many things that must be investigated and examined first before we finally decide to move to the next place.

Why is the web considered burdensome to the server, but when moving hosting is not a problem?

There are many technical explanations, but we will try to explain the general ones as follows:

Different Limit Resources Servers Each Provider

Each provider company has a different policy regarding the limit resources usage of a hosting package, for example personal and business limits, of course. And a shared hosting means sharing with other users so that this limit rule is made for good purposes so that the server does not experience overload and is more stable.

What is the solution?

Before you decide confidently to move hosting you should do this:

Check plugins are heavy, plugins are so many that only you know the functions of each of these plugins, but we provide a description of the burdensome plugins that usually have functions: stats, keyword queries, databases, auto tags, auto posts, auto links, bot blogs. If you find a plugin like that, please disable it will usually reduce the burden.
Check plugins that allow conflict, this plugin conflict can cause the server to be overloaded, this conflict usually appears in the error_log file in the public_html folder, immediately check the file and find the error.
Use the Cache Plugin, this plugin proved effective as long as it was set correctly.
Optimize your database, the simple method is to use phpmyadmin, select all, repair, optimize.

Related Posts:

Difference between CC and BCC on Email

The activity of exchanging messages via e-mail has now become a routine activity in this modern era, for some countries, this e-mail reply activity has become like SMS, like in Japan, for example. Where asking for a contact to contact is no longer a telephone number, but an email. But you know, when sending an email there are 3 contact columns, namely TO, CC, and BCC. It is likely that Indonesian people who still tend to rarely use email to send messages will not know about these three things.

Email itself is a feature of sending letters electronically, or commonly called Electronic Mail, its function is the same as a letter in general, which is sending messages, the difference is that Email will be faster until compared to conventional mail, even with email can send audio, image and other files so.

For those of you who are not accustomed to using e-mail if you notice when you want to send e-mail, for example to friends, the first thing to do is write an e-mail, where on the form there are usually to, cc, bcc, and fill in the message. , what is of concern is the TO, CC, and BCC columns. For the difference, I will explain below.


This column is usually used to write down the recipient's address from the email to be sent, for example you want to send an email to your friends then you write it ([email protected]) if the recipient of a lot of email is usually separated by a comma.


CC or Carbon Copy, this column is usually used to write the recipient's address copy or copy of the e-mail to anyone will be sent other than the recipient to.
the recipient's name in this carbon copy will be visible to all recipients.


BCC or Blind Carbon Copy, this column is usually rarely used but, maybe at any time it can also be used where it is Hidden. If the main recipient in the To column and the recipient copy in the Bcc column then all recipients of copy then in the Bcc column do not know each other, the recipient will not be published other than the main recipient.

Alright, friends, by knowing the three columns, of course you should be familiar with sending emails. With modern services like now, the process of sharing information or files can be very easy. It would be nice if we were not left behind with technology that was actually very common like this.

Related Posts:

The Importance of Corporate E-mail for Companies

Email is a very important service today for companies that prioritize the speed, practical and efficient side. Email is also a mainstay for companies that have many branches and business relations both domestically and abroad. At present every case of correspondence can be done via email

Why do you have to use email?

1. Speed

Try to imagine when you have a company but communicate with your customers or branch offices you use a mail system that must be sent to POS, City Courier or your Office Boy. What are the costs to be spent every month if in total? Of course it is very big and it is not effective when it becomes the main thing in a large company. With Email only when you click SEND / SEND from your inbox, only 1 second has arrived at the destination email.

2. Practical

It is called practical because you do not need to use manual methods, such as folding paper, providing envelopes, using people to fold and sorting, not to mention grouping into other categories, then sending to sending companies etc. Now with e-mail it doesn't need to be that complicated, because you can simply group e-mails of your customers, relations and branches in one list. So you can just type 1 email, but can be sent directly in bulk without taking a long time 1 second, all of them get email.

3. Efficient

Efficient is sure. You are more likely to reach other customers wherever they are, the cost that you spend will be much smaller if compared to manually sending to your customer.

If your company does not currently use e-mail facilities, start from now on is changing using technology to help our work become easier and more effective.

For companies, in our opinion, we recommend using private e-mail, not using e-mail services with free domain names, this is because to give your company's credibility in the eyes of the client.
Your company will look more bona fide and more classy when you use company e-mail with your own domain, for example [email protected], instead of using the company @ gmail / yahoo / and the like.

Using the private domain of a company can also minimize fraud. now there are many job vacancies on behalf of certain companies, therefore using official email from the company is more trusted by job seekers.

Related Posts:

the difference from On Hosted VS Self Hosted

for newbies aka beginners in the world of websites, online sites and blogs, they will usually be confused when finding cases of differences between and, so if you are a newbie talking to seniors about how to create a website especially using wordpress, then You will quickly conclude that the wordpess is only one type, okay, let us explain so that you are not more confused

"wordpress doesn't only have 1 type, but there are 2 types"

WP On-Hosted is on

When you register on you will have the url address behind the word for example:,

With FREE, you will only get the url as above, which is behind the domain, so you will only be given a url name with subdomains when using free services.
To make it your own domain, you will be charged a number of fairly large fees.
- domain mapping costs around 14 usd
- domain fees around 24 usd
the price can change according to the terms of

PROS: if you want some bloggers who don't want to bother and don't care about the url (url address) and don't need maintenance, is the right choice for you. Because everything is ready made and everyone knows you are using a free blog. You cannot change the plugins as you like, and themes are also provided only, cannot be tampered with, and of course websites onhosted cannot be monetized or cannot be used as fields of advertising and money.


The self-hosted system is often used by people who are dissatisfied with things that are monotonous and rigid on a blog / website. If you want to create a web / blog using you can just buy a hosting package and domain only.

By using Self-hosted, you will have a url with the main domain that you want without a sub domain, so your url name will be better, because it is the main domain and you choose yourself.

Pros: With you can tweak it, and install plugin / themes as you like to adjust to the needs of your website's features, you can also buy premium themes at Themeforest or keep using free themes but you custom according to your wishes. Self Hosted is more chosen by customers who want to create a website / blog as desired, modify etc. You are free to be creative with your website. you can even make your site an online store by using additional woocoomerce plugins and so on. You can also monetize your site.

Weaknesses: using a self hosted WP is a little more troublesome, because you have to install this and that, but this weakness is very trivial and you will quickly learn it, as long as you are serious about learning.

Ok now you know the difference from VS

Related Posts: