Htaccess.txt To .htaccess Plain Text Backend - Question | JoomShaper

Celebrate JoomShaper's Sweet 16 with Flat 35% OFF!

Htaccess.txt To .htaccess Plain Text Backend

Cristina

Cristina

SP Page Builder 1 day ago

Hi there,

I need help since the last update our website has been hacked and we have managed to get it working again, yet when we update to htacces.txt to .htacces the backend shows as plain text. I need help please bc i dont know what else to do and the website needs to be safe.

Thanks in advance,

Cristina

0
3 Answers
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 1 day ago #226447

Hi Cristina.

As I remember it was a old problem (2 years old, started with J4) with double compression.

You have two ways to fix it:

  1. Edit .htaccess file
  2. Or, edit configuration.php file
0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 1 day ago #226448

If you will try method (1)

delete all content that is below ### GZIP & BROTLI between < IfModule .... < / IfModule>

del9.png


If method (2) find line:

public $gzip = true;

and change from "true;" to "false;" , then save changes.

Try (2) first. Then reload site (admin area), if will not help (1).


In general it's not SPPB or Helix releated, but Joomla question.

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 1 day ago #226452

what else to do and the website needs to be safe.

To be honest, it's topic for whole ebook/book, not forum topic. Sorry for the brief reply.

  1. Many suggestions/tips you will find here: https://www.joomshaper.com/forum/question/45152
  2. Install Firewall component
  3. Secure folders that do not have php files (/images, /files, /media) with extra .htaccess
  4. Ask hosting company for regular malware scanning (every 2-3 days at least).
  5. Block some IPs that shouldn't visit your site(s), whole regions as well.
  6. Every extra, even small step may reduce risk.
0