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

Mod_rewrite is installed and enabled by default on all servers supported by Total Server Solutions, 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 it's working, We 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, for example:


Now when you 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 server.

Reviewed: 11/09/2016

  • Email, SSL
  • 20 Users Found This Useful
Was this answer helpful?

Related Articles

What if I need more hard drive space or bandwidth? - delete

Submitted by user: I need more HD space.. There are a few other companies out there that are...

What language can I program in? Where can I download scripts?

For the most part PHP is the most common scripting on the web. Many other scripts and programs in...

Help - my site's been infected by a Virus

The viruses that attach themselves to web pages are unfortunately common, and though they are...

Fix for FrontPage hit counter on subdomain

Problem: You're using MS Front Page with web bots. The hitcounter works fine on your main domain,...

Can you tranfser files from my old host to you?

If your current web hosting provider has cPanel all you would need to do is create a BACKUP of...