Mod-rewrite is an Apache module used for the purpose of rewriting URLs. It is implemented via specific rules added to the .htaccess file.
Is Mod-Rewrite enabled on Multidata?
Yes! Mod-rewrite is enabled by default on the Multidata platform, meaning whether your site is on Windows, Linux or WordPress, you can make use of mod-rewrite.
Common uses include:
- URL Rewriting – Make URLs more user-friendly, e.g. turning
example.com/product.php?id=123intoexample.com/product/123 - URL Blocking/Filtering – Block malicious requests or restrict access to certain areas
- Forcing HTTPS – Redirect all HTTP traffic to HTTPS
Note: On the Multidata shared hosting platform, mod-rewrite cannot be used to rewrite URLs within the uploads folder of a WordPress site due to security rules.