cPanel - Guides and configuration search
clear

How to set the mod_rewrite using cPanel

To set the mod_rewrite using cPanel you have to follow a few steps:

  1. Log-in to your cPanel control panel;
  2. Click on the "File Manager" icon and choose the "Public_html" folder;
  3. Select "Show hidden documents" that will allow you to access the .htaccess file;
  4. Click on "Continue", to access the files' section;
  5. If the .htaccess is already existing, click on the file name and select "Edit file with Code Editor". If the .htaccess file is not existing, you have to create it by clicking on "Create new file" and typing .htaccess in the box above;
  6. Click on "Confirm";
  7. Click on "RewriteEngine On"  to enable the mod_rewrite;
  8. Click on "Save changes" to complete the operation.


We remind you that the mod_rewrite is useful to enable Wordpress permalink, to process total or partial 301 redirect and many more.

Did you find this answer helpful?

Still need help?

Contacts

Contacts

Request information, assistance or quotes

Chat

Chat

Ask about services and promotions

Ticket

Ticket

Submit a request for technical support

Payments

Payments

Make a payment in a few clicks