What is the use of .htaccess file and how to make it?

Author Topic: What is the use of .htaccess file and how to make it?  (Read 1232 times)

Offline Commerce.Microsoft.comTopic starter

  • Trade Count: (0)
  • Semi-Newbie
  • *
  • Thank You 1
  • Posts: 44
  • Karma: 0
  • Gender: Male
  • Skype Support Number 1-800-296-0288
    • Skype Help
Hi All !! What is the use of .htaccess file and how to make it? please suggest me the steps for making .htaccess file.


Offline pablohunt2812

  • Trade Count: (0)
  • Full Member
  • ***
  • Thank You 23
  • Posts: 200
  • Karma: 0
Re: What is the use of .htaccess file and how to make it?
« Reply #1 on: 12-03-2016, 01:45:02 »
You may have been working on a website, or reading an article about web development, and heard about the .htaccess file, but wondered what it was, or what, if anything, you can do with it. This tutorial will tell you the basics about .htaccess, and show you a few ways you can use it on your website.
Before we go any farther, let's explain what the .htaccess file is. htaccess is short for Hypertext Access, and is a configuration file used by Apache-based web servers that controls the directory that it "lives" in--as well as all the subdirectories underneath that directory.
Many times, if you have installed a Content Management System (CMS), such as Drupal, Joomla or Wordpress, you likely encountered the .htaccess file. You may not have even had to edit it, but it was among the files that you uploaded to your web server. BTW, that's its name, .htaccess--it begins with a period, and ends with "htaccess." If you edit it, you need to make sure that it stays that way, and doesn't end up with a .txt or .html extension.
Also note that some web hosts do not allow you to edit the .htaccess file--but even on most of those hosts, you can create your own .htaccess file and upload it to specific directories, and as discussed above, it will control those directories and subdirectories below it.
« Last Edit: 12-03-2016, 01:51:30 by pablohunt2812 »

Offline hynds

  • Trade Count: (0)
  • Full Member
  • ***
  • Thank You 21
  • Posts: 161
  • Karma: 0
  • Gender: Male
  • Free Domain Coupon Codes at http://eCoupon.io/
    • Godaddy Coupon, GreenCloudVPS Coupon
Re: What is the use of .htaccess file and how to make it?
« Reply #2 on: 12-03-2016, 19:32:15 »
.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.
Godaddy coupon -
 Just for $1/mo Hosting, 99cents .COM Domain

Offline jamespatrick2512

  • Trade Count: (0)
  • Semi-Newbie
  • *
  • Thank You 1
  • Posts: 16
  • Karma: 0
  • Ultimate Banner Plugin Review
    • http://ultimatebannerreviews.com/about/
Re: What is the use of .htaccess file and how to make it?
« Reply #3 on: 12-05-2016, 02:10:42 »
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.
James Patrick  ;D  ;D
My web: Ultimate Banner Plugin Review [nofollow]

 

Related Topics

  Subject / Started by Replies Last post
2 Replies
1532 Views
Last post 12-04-2014, 02:47:16
by Stephen
0 Replies
686 Views
Last post 04-27-2015, 17:09:57
by nqservices
0 Replies
827 Views
Last post 04-02-2016, 04:57:02
by chinmay.sahoo
0 Replies
481 Views
Last post 12-29-2016, 19:26:19
by telemart
3 Replies
663 Views
Last post 01-09-2017, 02:16:58
by ORLOVA