Introduction of .htaccess

March 23, 2017
7 Shares 302 Views
1 Comments
Like
Like Love Haha Wow Sad Angry

What is .htaccess?

.htaccess is a config file for use on web servers running the Apache Web Server Programming. Whenever a .htaccess record is set in a directory/folder which is thusly ‘stacked through the Apache Web Server’, then the .htaccess document is recognized and executed by the Apache Web Server programming. These .htaccess documents can be utilized to adjust the arrangement of the Apache Web Server programming to empower/impair extra usefulness and elements that the Apache Web Server programming brings to the table. These facilities include basic redirect functionality, for instance, if a 404 file not found error occurs, or for more advanced functions such as content password protection or image hotlink prevention.

You might have a private area/pages of your website you wish to keep password protected. This password protection is actually set up in the .htaccess file. Most of the functions of the .htaccess file, you do not have to concern yourself with as they will be automatically written through cPanel. This is the case of password protecting directories. While you set it up in cPanel, it actually writes a directive to your .htaccess file.

Other functions of the .htaccess file include prohibiting hotlinks, rewriting URLs, setting default pages, creating redirects, reconfiguring account settings, and much more. It’s really important to realize how the .htaccess file can affect your entire account. Changing something in the .htaccess file can alter how your website functions so it’s really important BEFORE making changes to your .htaccess to backup your current .htaccess file.

Like
Like Love Haha Wow Sad Angry

Comments

comments

You may be interested

Apply for Voter ID Card Online
Govt of India
15 shares287 views
Govt of India
15 shares287 views

Apply for Voter ID Card Online

Anupama Bhandari - Apr 13, 2018

As per Indian Government, Everyone in India needs to have their own Voter Identity Card to vote the right candidate.…

अब दिल्ली मे दम नही
Hindi
10 shares298 views
Hindi
10 shares298 views

अब दिल्ली मे दम नही

Bijender Singh Bhandari - Apr 03, 2018

मेरा इस दिल्ली मे जन्म हुआ था ये सुन्दर शहर तब दिल मे बसा था कल्पना न थी जो दशा…

How to manage your time at exam preparation?
eLearning
3 shares283 views
eLearning
3 shares283 views

How to manage your time at exam preparation?

WEXT.in Team - Mar 03, 2018

Exams are a real test of your prowess to make the time available to exhibit as much as possible and…

One Response

  1. Pingback: Force redirect to HTTPS using .htaccess file in PHP – WEXT.in Community

Leave a Comment

Your email address will not be published.