How to see if Mod_Rewrite is enabled on site/server?

mod rewrite is installed and enabled by default on all servers supported by Hands-on Web Hosting, and all servers that run cPanel and cannot be disabled. The reason it cannot be disabled as it will adversely affect cPanel functionality that relies upon it to function properly.

If you are questioning if Mod_Rewrite is enabled on the machine, there are several ways to check if its working, I will try to show you the simplest method, Create a .htaccess file (a text file named .htaccess) with the following code in it


Options +FollowSymLinks
RewriteEngine On

Save the file to a subdirectory of your main site something like this


Now attempt to browse to the subdirectory ( One of two things could happen

No errors Congrats mod_rewrite engine is now enabled.

500, Internal Server Error If you get this message then mod_rewrite was not installed/enabled on your computer.

  • 44 Users Found This Useful
Was this answer helpful?

Related Articles

Can I upload files via an online file manager ?

Yes. Login to your Control Panel ( and select "File Manager".

How to create an autoresponder in Cpanel

We do have a video tutorial on how to create an autoresponder. Autoresponder returns a...

How to login to cPanel

How to login in to Cpanel — (Web Hosting Control Panel)   Go to URL and...

What is FTP?

FTP stands for File Transfer Protocol and it is the process used to upload and download files...

I didn't get my welcome email or have since lost it. How can I have it resent?

I didn't get my welcome email or have since lost it. How can I have it resent? The welcome...