Skip to main content
Keep your business open during COVID-19Learn More
Call us
Phone numbers and hours
Help Center

Explore our online help resources

We are experiencing high volume today, and as a result, you may experience longer than usual wait times.
BlogHelp

Linux Hosting (cPanel) Help

How do I use mod_rewrite?

Mod_rewrite is an Apache Web server module installed on all of our Linux servers by default; it does not have to be installed or enabled. Our Linux hosting accounts support most mod_rewrite functions.

Because enabling mod_rewrite is handled at a global level, you do not need to enable it in your httpd.conf file. You only need to add the desired code to the body of your .htaccess file.

Our environment uses the vendor-provided code from Apache for mod_rewrite. Current Apache HTTPD documentation is accurate with regard to how to use .htaccess files.

For more information about mod_rewrite see the Apache Module mod_rewrite documentation.

Note: The .htaccess file containing the rewrite rules must be in the same directory as the target files.

Community Related

TamaraM's Avatar
Paypal html with Photo

2 Replies

Last posted 12 months ago.

WorldHealthSite's Avatar
mod_rewrite module on Windows Hosting (Plesk)

1 Replies

Last posted over 4 years ago.

nathanmarkley's Avatar
Updating php and mysql version?

2 Replies

Last posted over 4 years ago.

Don't see what you are looking for? Search the Community