Enabling mod_rewrite
mod_rewrite is already enabled on all Ultra Web Hosting servers. You do not need to request it or configure it. Any .htaccess rewrite rules you add will work immediately.
If your rewrite rules are not working, check these common issues:
- Missing RewriteEngine On: Every .htaccess file that uses rewrite rules must include
RewriteEngine Onat the top - Syntax error: A single character error in a rewrite rule can cause a 500 Internal Server Error. Check your error_log for details.
- Rule order matters: Rewrite rules are processed top to bottom. A rule with the
[L](last) flag stops processing, so rules below it will not execute. - WordPress permalinks: If WordPress pretty permalinks are not working, go to Settings > Permalinks and click Save to regenerate the .htaccess rules.
