PDA

View Full Version : what is .htacess file?



floridabioclean
08-01-2017, 05:41 AM
.htacess file is used to solve the canonicalization issue of a website. It may happen that the home page of the site may take several urls like http://www.example.com or http://www.example.com/index.html or http://example.com . The search engines might treat these url as different and may divide the link juice gained by having various backlinks made with any of these 3 urls. The link juice gets divided between these three urls equally. .htacess file is created to have a single url of the home page so that the link juice is passed onto single url.

24x7servermanag
08-01-2017, 05:50 AM
.htaccess file nothing but the directory specific configuration file. When you don't have access to root configuration file of server (mostly Apache server) that time .htaccess file is used. In Apache web server, whenever you will request anything, it will be sent from .htaccess file.

It can be used for defining PHP configuration, providing the various authentication, adding redirection, restricting the access etc.

Naksh
08-01-2017, 05:58 AM
Benefits of .htaccess file are:
Authorization and Authentication
Rewriting URLs
Htaccess to Redirect Pages
Blocking
SSI
Cache Control
Customized Error Responses

musictalentindi
08-01-2017, 06:14 AM
.htaccess is a configuration file for use on web servers running the Apache Web Server software. When a .htaccess file is placed in a directory which is in turn 'loaded via the Apache Web Server', then the .htaccess file is detected and executed by the Apache Web Server software.

fayeseom
08-01-2017, 06:41 AM
Using .htaccess files lets you control the behavior of your site or a specific directory on your site.

mohit123
08-02-2017, 02:54 AM
* Htaccess is a configuration file located in the directory of the Apache Web Server to redirect the user to a particular location or redirect the traffic to a new URL instead of the old URL. It is mostly used on the web server which runs the Apache software.

*Actually, it is a hidden text file that allows to the control the traffic of your website according to the requirement. Sometimes it is also used to block the certain portion of your website for the users.

*If a user makes an error in writing the URL of a website .htaceess file is used to redirect the user to the error page. Some of the most common error codes are as follows:

400 - Bad Request
401 - Authorization Request
403 - Forbidden
404 - File Not Found
500 - Internal Server Error

BenWood
08-02-2017, 03:03 AM
.htaccess is a configuration file for use on web servers running the Apache Web Server software. When a .htaccess file is placed in a directory which is in turn 'loaded via the Apache Web Server', then the .htaccess file is detected and executed by the Apache Web Server software.

virginoilseom
08-02-2017, 03:04 AM
The .htaccess file is a powerful tool for modifying your Apache configuration on a per-domain and even a per-directory level. The .htaccess file is a powerful tool for modifying your Apache configuration on a per-domain and even a per-directory level.

alliecandy
08-03-2017, 06:50 AM
.htaccess is a configuration file for use on web servers running the Apache Web Server software. When a .htaccess file is placed in a directory which is in turn 'loaded via the Apache Web Server', then the .htaccess file is detected and executed by the Apache Web Server software.

ecartproduct
08-03-2017, 06:59 AM
.htaccess is a configuration file for use on web servers running the Apache Web Server software. When a .htaccess file is placed in a directory which is in turn 'loaded via the Apache Web Server', then the .htaccess file is detected and executed by the Apache Web Server software. These .htaccess files can be used to alter the configuration of the Apache Web Server software to enable/disable additional functionality and features that the Apache Web Server software has to offer. 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 hot link prevention.

RH-Calvin
08-04-2017, 01:47 AM
.htaccess is a configuration file for use on web servers running the Apache Web Server software. When a .htaccess file is placed in a directory which is in turn 'loaded via the Apache Web Server', then the .htaccess file is detected and executed by the Apache Web Server software.