- Admin
- #1
- Messages
- 40
- Reaction score
- 27
- Points
- 37
The hidden system file .htaccess, while not part of WordPress, has plenty of really useful features for any website, so you better know and familiar with it. So let's see what it is, how it works, and learn some useful tricks, some little known, we can use to our WordPress installation.
1. What is the .htaccess file?
Apache server software, which works on most of the Web, offering directory settings through files Access Hypertext, Hypertext Access in English, better known as file .htaccess to give you an idea of where it comes from the moniker file.
These files .htaccess allow custom settings and site-specific system configuration directives defined in the main configuration file of Apache ( httpd.conf ).
These custom policies can operate within a file called .htaccess. For this, the user must give the file .htaccess file proper permissions to access and/or editing. For that matter, in this regard notes that you should never give permissions for all the file .htaccess, the most common and grant permissions insurance is 644, which allows universal access read and write permission only to the system user.
You should also know that the rules - or directives - of .htaccess affect the parent directory and all subdirectories where it is located. So that your settings are applied to an entire website, you must place the file .htaccess in the root folder of the site.
In addition, you can also create files .htaccess on a specific directory or subdirectory to its rules only apply to it.
To read the complete guide please visit here
1. What is the .htaccess file?
Apache server software, which works on most of the Web, offering directory settings through files Access Hypertext, Hypertext Access in English, better known as file .htaccess to give you an idea of where it comes from the moniker file.
These files .htaccess allow custom settings and site-specific system configuration directives defined in the main configuration file of Apache ( httpd.conf ).
These custom policies can operate within a file called .htaccess. For this, the user must give the file .htaccess file proper permissions to access and/or editing. For that matter, in this regard notes that you should never give permissions for all the file .htaccess, the most common and grant permissions insurance is 644, which allows universal access read and write permission only to the system user.
You should also know that the rules - or directives - of .htaccess affect the parent directory and all subdirectories where it is located. So that your settings are applied to an entire website, you must place the file .htaccess in the root folder of the site.
In addition, you can also create files .htaccess on a specific directory or subdirectory to its rules only apply to it.
To read the complete guide please visit here