How to Remove Redirection using .htaccess

March 14, 2023 / How-to Guide

An explanation on how to remove redirection-using .htaccess is given in this article.

To remove redirection-using .htaccess, follow the steps:

  1. Log in to cPanel.
  2. Select “File Manager” option under the “Files” category.
    File Manager
  3. You will enter “File Manager” dashboard. Click on the “Settings” button from the top right side of the screen.
    Settings
  4. You will see a small pop-up window. Enable the “Show Hidden Files (dotfiles)” option by ticking the box and click on the “Save” button.
    save
  5. Locate the “public_html” folder and open it to find the “.htaccess” file.
    public_html
  6. Select the “.htaccess” file and right click to “Edit” the file.
    .htaccess
  7. Add “#” to the prefix of your https redirection code.
    #rewrite
  8. Click on the “Save Changes” button.
    Save changes
  9. It will ask you for confirmation. Click on the “OK” button.
    ok
  10. A success message will be displayed.
    success

This way, you have removed the redirection to https using .htaccess file successfully. For information, do contact our support staff at your earliest.

Spread the love