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 complete guide please visit here
Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
Find advice, questions & answers on the who's, what's, when's and where's of the Web Hosting World.
Users browsing this forum: No registered users and 1 guest