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.
  • 16 Para pengguna merasa ini berguna
Apakah jawaban ini membantu?

Artikel Terkait

Apakah HostMop Menggunakan cPanel Dan Memiliki Dokumentasi Manual?

Ya, HostMop menggunakan cPanel terutama untuk pelanggan shared hosting kami. Untuk dokumentasi...

Saya Tidak Daat Mengakses cPanel Setelah Beberapa Kali Percobaan, Apa Yang Harus Saya Lakukan?

Setelah beberapa kali percobaan, sistem kami akan melakukan blokir akses secara otomatis untuk...

Can I host unlimited domain names / web sites?

Yes, our reseller packages allow you to host an unlimited number of web sites. You simply...

Do You Give Us WHM For Reseller Account?

Yes, we do use WHM for our reseller account.

Do you have manual for WHM?

For the latest manual of WHM, please visit http://www.cpanel.net/docs/whm/