htaccess long lines

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.
 
...Need more help than this? Our engineers are on-staff & happy to help. Contact support@signedon.com & describe the issue you are having, we'll respond within the hour with simple steps to solving the issue and a quote if you'd prefer to leave it to the experts.
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Please read before creating a Subdomain

Please read before creating a subdomain We do have a video tutorial which will show you how to...

Request a New cPanel Password

Requesting a New cPanel Password If you lost your password, you can change your password...

MySQL database size limit

MySQL database size limit There is no limit for the size of databases.MySQL is only limited to...

Please read before creating an Addon Domain

About addon domains Addon Domains are handled like subdomains as far as the server is concerned,...

Manual for cPanel

Yes, a manual for cPanel is available. Go here to view it. Even better for beginners...