> ## Documentation Index
> Fetch the complete documentation index at: https://docs.oriv.cloud/llms.txt
> Use this file to discover all available pages before exploring further.

# Troubleshooting Guide: Fixing Website Download Issue Instead of Loading

> If a website is downloading files instead of loading in a browser, and this issue might be related to the .htaccess file or OpenLiteSpeed (OLS) configuration. F

If a website is downloading files instead of loading in a browser, and this issue might be related to the `.htaccess` file or OpenLiteSpeed (OLS) configuration. Follow these troubleshooting steps:

### Steps to Resolve:

**Rename the `.htaccess` file:**

* **Using File Manager**: Access the site’s folder file manager, navigate to the root directory of your WordPress site, and rename `.htaccess` to `.htaccess_old`.
* **Using SFTP**: Connect to your server via an SFTP client (e.g., FileZilla), locate the `.htaccess` file in the root directory, and rename it.

**Restart the OLS Service:**

* Access server management and restart the OpenLiteSpeed service.

**Test Your Website:**

* Visit your website URL to see if it now loads properly in a browser.

**Rebuild the `.htaccess` File:**

* Log in to your WordPress admin dashboard (`wp-admin`).
* Navigate to **Settings > Permalinks**.
* Click **Save Changes** twice without making any changes. This action regenerates the `.htaccess` file with the correct rules.

After completing these steps, your website should load correctly. If the issue persists, additional debugging might be required, such as checking PHP version compatibility or server error logs.
