How to create a. htaccess file in a php project

Source: Internet
Author: User
How to create a. htaccess file? Many new users do not create. htaccess files.

How to create a. htaccess file?Many new users will not create. htaccess files. here I will tell you the simplest way to create. htaccess files.

Because. the htaccess file is special. it is different from a common file. the file itself has no file name and only one file suffix, htaccess. Therefore, you cannot create the file by using the common file creation method, otherwise, a message similar to the "file name cannot be blank" is displayed.

The method is as follows: first create a text file, then open it, click save as in the menu, then write. htaccess in the saved file name, and select "all files" as the Save type.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.