A complete guide about .htaccess and a few extra tricks

Welcome to our community

Be apart of something great, join today!

NhtAdmin 

Administrator
Moderator
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
 
  • Advertisement
  • stevemark02

    Newbie
    Messages
    1
    Reaction score
    0
    Points
    0
    .htaccess is one of the important section in website. We have to configure it correctly. This helps many people to understand more about .htaccess.
     

    Hostwinds

    Newbie
    Messages
    15
    Reaction score
    2
    Points
    0
    We enjoyed reading this educational guide! Thank you for sharing this. It was very interesting reading the " Important notes for beginners with .htaccess" section, in particular. Thank you again!
     
  • Advertisement
  • vladj

    Newbie
    Messages
    3
    Reaction score
    0
    Points
    0
    Ofcourse .htaccess playing pivotal role in website management. I had gone through your document and it is pretty good.
     

    Advertisement

    Top