Enable AllowOverride

AllowOverride and .htaccess Support

 

AllowOverride is already enabled on all of our hosting servers. This means .htaccess files are fully functional and you can use them for URL rewriting, redirects, password protection, custom error pages, PHP settings, and all other standard Apache directives.

 

You do not need to request this to be enabled or make any server configuration changes. Simply create or edit a .htaccess file in your public_html directory (or any subdirectory) and your rules will take effect immediately.

 

If Your .htaccess Rules Are Not Working

  • Make sure the file is named exactly .htaccess (with the leading dot, no file extension)
  • Check for syntax errors by looking at the error_log file in the same directory
  • Include RewriteEngine On before any rewrite rules
  • Make sure the file uses Unix line endings (LF), not Windows (CRLF)
  • 773 Users Found This Useful

Was this answer helpful?

Related Articles

When should I use ascii and when should I use binary?

ASCII vs Binary FTP Transfer Mode   When uploading files via FTP, you may need to choose...

How can I change the default page / document?

Create a .htaccess file, include the below information into it and upload it to the public_html...

What is this Code 304 appearing in my stats?

HTTP Status Code 304 in Your Website Statistics   A 304 status code means "Not...

Enable Mod Rewrite

Enabling mod_rewrite   mod_rewrite is already enabled on all Ultra Web Hosting servers. You...

Cross Origin Request Error

Cross-Origin Request Error (CORS)   If you see "Cross-Origin Request Blocked" or "No...



Save 30% on web hosting - Use coupon code Hosting30