Knowledge base

Find information and articles about features, guides for troubleshooting,
and other useful information related to Hostinger's web hosting services.

How to create an .htaccess file?

Modified on:
how to create htaccess htaccess apache create htaccess

You can simply create .htaccess by going to your Control Panel -> File Manager and right-clicking on a blank area in it. Select New File option. 

 

After that, enter the name .htaccess and press Create to save it. You will then be able to access your newly created file and manage the code.

 

  • Easy Website Builder
  • 99.9% Uptime Guarantee
  • 24/7 Live Support
  • Powerful Control Panel
  • 30-Days Money-Back Guarantee
Limited Time Special Offer!
From
39
00
/mo
Save 90%
Get started