How to enable rewrite module for a domain

Created:

2017-06-05 14:28:01 UTC

Modified:

2017-08-21 23:55:54 UTC

0

Was this article helpful?


Have more questions?

Submit a request

How to enable rewrite module for a domain

Applicable to:

  • Plesk Onyx 17.5 for Linux

Question

How to enable Apache rewrite module for a domain?

Answer

1. Check if rewrite module is installed and enabled on your server:

# httpd -M | grep rewrite
rewrite_module (shared)

2. Go to Plesk > Domains > example.com > File Manager and make changes in .htaccess file: add or delete appropriate rows.

3. Another way is to go to Plesk > Domains > example.com > Apache & nginx Settings and to add rules to ‘Additional Apache directives’ section in accordance with Apache official documentation http://httpd.apache.org/docs/current/mod/mod_rewrite.html.

Have more questions? Submit a request
Please sign in to leave a comment.