Sometimes when you edit the .htaccess file in cPanel, the lines must wrap and this causes a line break.
The line break is a common reason for site errors.
To fix this, open a text editor (like Notepad) and paste your .htaccess code in.
Be sure that Word Wrap is off (under Format).
Save the file as htaccess.txt
Upload this new file to the proper directory.
Rename the current .htaccess to htaccess-old.txt
Rename htaccess.txt to .htaccess
To avoid further problems, don't open this .htaccess in cPanel anymore.
- 0 Utilisateurs l'ont trouvée utile
Articles connexes
How to Connect to the MySQL Database
Note: If connecting from your home computer, you need a MySQL client like Navicat,...
How to log into cPanel
cPanel is used for managing your web hosting account and available on all Microhosting Linux...
Please read before creating an Addon Domain
About addon domainsAddon Domains are handled like subdomains as far as the server is concerned,...
How to generate/download a full backup
A full backup is a backup of all of your files, e-mail, databases, etc. To run a full backup, you...
How to change the password of your cPanel account
There may be times where you would like to change the password of your account. It is...