Access and modify your .htaccess file

Every domain linked to your hosting account with an active website has an .htaccess file, a configuration file that customizes server behavior for specific website directories.

You can access and modify your website’s .htaccess file via your hosting control panel.

1. Log in to your hosting control panel
2. Click on the File Manager button

3. Double click the domains folder

4. Find your website folder and double-click it. If you have multiple domain names, you will see multiple folders listed, make sure to click on the correct one.

5. Inside your website folder, find the public_html folder and double-click it

6. In the public_html folder of your website, locate the .htaccess file. You might need to scroll depending on your device’s screen size and the file count. Right-click on the .htaccess file once found and choose Edit from the dropdown menu.

7. The .htaccess file for your website will now open in a new window. Here, you can either review the current code snippets or make any required modifications. ⚠️

⚠️ Note: Be very careful when editing .htaccess files. It’s recommended that only advanced users or a professional web developer make changes to avoid potential website problems.

8. Once you’ve applied edits to your .htaccess file, perform these steps in order:

  • Click the Save File button to apply your changes
  • Click the X button to close the session