How to Edit Your .htaccess File using cPanel File Manager and FTP Clients

Your video will begin in 10
87 Views
Published
Learn how to edit your .htaccess file by using the cPanel File Manager or an FTP client.

The .htaccess file is a hidden file that is used by the hosting server for several purposes.

Examples include:
- Redirects
- Security
- Website configuration

The file is detected and processed by the Apache server.

How do you find the .htaccess file? The .htaccess file is generally in the root of the folder where you're saving your website files. Note that there can be multiple .htaccess files. They can exist in folders that are part of your website files. Make sure to select the correct file to edit.

In this tutorial we are going to show you how to navigate to the file and then open it using either the cPanel File Manager or an FTP client.

NOTE: As with any change, make sure to BACKUP your files BEFORE you make any changes.

Read our full guide on Learn how to use the .htaccess file
▶︎ https://www.inmotionhosting.com/support/website/htaccess-file/

------------------------------------------------------------------------------

Using the cPanel File Manager

1. First login to the cPanel
2. Go to the File Manager.
3. Make sure to double-check the settings so that you can see hidden files
4. Go to the relevant .htaccess file.
5. Select the file
6. Use the edit options within File Manager
7. Make sure to save your changes.

------------------------------------------------------------------------------

Using an FTP client

1. FTP into to the account
2. Find the .htaccess file
3. Download it and then edit the file with a text editor.
4. Save your changes.
5. Apply the changes to your website by uploading the file back into the location where you downloaded it. Make sure you overwrite the file.

#htaccess #cPanel #Apache

------------------------------------------------------------------------------

About Us:
InMotion Hosting provides fast and reliable website hosting for businesses of any size. Launch a website fast with our easy to use website builder and professional tools. Your satisfaction is guaranteed and backed by 24/7/365 customer support. Partner with a company that offers superior performance, security, 99.99% uptime reliability, free SSL, 1-click app installs, and a free domain for a year.
► https://www.inmotionhosting.com/shared-hosting
Category
InMotion Hosting
Tags
how to edit your htaccess file, editing your .htaccess file, using cpanel to edit your .htaccess file
Be the first to comment