Home >> .htaccess >> What Is .htaccess in .htaccess

What Is .htaccess in .htaccess

Htaccess (Hypertext Access) is a configuration file of apache which is used to make changes in the configuration on a directory basis. 
This directory can be the root directory or subdirectory of your website.

Uses of the .htaccess file:
1)-Change the default page(i.e index.html to home.html).
2)-URL rewriting for SEO friendly URL.
3)-Custom error pages.
4)-Redirect http to https OR one domain to another domain.
5)-Block IP address OR range of IPs.
6)-Password protection.
7)-Authenticated folder.

Post Your Comment

Next Questions
Why do we Use and Where
Enable .htaccess on apache Ubuntu server
Enable .htaccess on apache localhost server
How To Create .htaccess Files
How To Define Custom Error Pages
How can I change the default start page
How To Block Or Allow Ip Addresses From Accessing Your Site
How To Protect Password Of Directories
How To Redirect Http To Https
How To Redirect Http:// To Https://www
How To Redirect Non www To www
How To Redirect One Domain To Another Domain
How to Remove index.php from URL
How To Redirect Homepage To Another Website
How To Redirect To Another Directory Within Same Domain
How To Set Environment Variable
How To Set The Php Config Variables
How To Set Display_error Off
How To Block Few Ip Address
How To Redirect To Error/404.html When 404 Errors Comes
How To Set The Caching For Javascript/images/css
What Is Meaning Of 301, 302, 400, 401, 403, 404 And 500 Error Codes
Forcefully redirect http to https
Creating a Custom 404 Error Page
How to URL Rewrites

Copyright ©2022 coderraj.com. All Rights Reserved.