4

recently a friends company website that is using Joomla was hacked. Since keeping the website always up to date is not of any priority, it ran an outdated version and I'd assume it could happen again in the future.

To make it less vulnerable I wondered if there is a way to generate static HTML out of a local Joomla installation? Reasoning behind it is, that the page is static anyway and the only reason for having a CMS seems to be to be able to change the content more easily.

Would this possible at all? Or would it be better to look at static html generators?

4

The "Static Content" project at: https://github.com/juliopontes/staticcontent does exactly what you are after although it looks like it may need to be updated for Joomla 3.5.

Alternatively, you could use Wget or HTTrack or similar to convert your Joomla website to HTML. Linux, Windows and OSX versions are available for both Wget and HTTrack. See the answers to https://serverfault.com/q/441584/270745 for more detailed instructions.

  • The 'static content' GitHub project has been 'In development' without a release for 5 years. – Robs Mar 30 '18 at 8:45
  • 1
    Look at older commits. You'll see usable code there. – Mike Apr 30 '18 at 18:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.