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

  • 48

Title: How to Check if Mod_Rewrite is Enabled on Your Site/Server

Introduction: Mod_Rewrite is a critical component for many web hosting servers, especially those running cPanel. In this article, we'll show you how to check if Mod_Rewrite is enabled on your site or server. Please note that Mod_Rewrite is installed and enabled by default on all servers supported by Domain India and cannot be disabled, as it is crucial for the proper functioning of cPanel.

Step 1: Create a .htaccess file
To determine if Mod_Rewrite is enabled, follow these steps:

1. Create a new text file named ".htaccess".
2. Copy and paste the following code into the file:

Options +FollowSymLinks
RewriteEngine On

Step 2: Save the .htaccess file in a subdirectory
Save the .htaccess file to a subdirectory of your main site, such as:


Step 3: Test Mod_Rewrite functionality
Now, try to browse the subdirectory by entering the following URL in your browser:

Observe the result:

- **No errors**: Congratulations! Mod_Rewrite is enabled on your site/server.
- **500, Internal Server Error**: If you encounter this error, it indicates that Mod_Rewrite is not installed or enabled on your server. However, this should not be the case for servers supported by Domain India, as Mod_Rewrite is enabled by default.

Conclusion: If you're a Domain India customer, you can rest assured that Mod_Rewrite is installed and enabled on your server by default. If you experience any issues or need assistance, feel free to contact our support team by submitting a ticket at

Was this answer helpful?

« Back