Joomla to Static HTML Website

I have a Hindi magazine site hosted on Joomla. Although useful in terms of publishing, the site was a nightmare for maintenance. Joomla is so vulnerable to hacker attacks. My host often closes my site due to bots attacking my site. I recently restarted the site as a new Wordpress site with a different name. Therefore, a Joomla-based website will never be updated. However, I want to keep the old content. I used PHP, but hardly a powerful user.

I want to convert files like plain HTML. I created a website mirror using HTTrack. But because Joomla had multiple URLs for the same page (if you used the SEF URL plugin that you understand), the mirror is filled with redundant content. In addition, I have repeating HTML content (for the title, footer, menu, etc.) on each page.

My questions:

  • Which option is better, create a static HTML site or PHP4.x pages (with Unicode content and PHP snippets included for duplicate content)?
  • If the latter is better, should I use a template system like Smarty? I'm worried about caching, as the content is unlikely to be updated. I want caches to last forever.

Thanks for the help.

+2
source share
3 answers

If I were you, I would have moved everything to WordPress since you started using this. This way you will maintain one website app that will ultimately be better managed.

You can copy data from Joomla using the Joomla administration interface. Or maybe it’s even faster to use a database tool such as MySQL Tools or Navicat, which has many export options.

Copying HTML from Joomla using tools like HTTrack or TelePort Pro will result in a lot of duplicate codes and pages, as you claim.

Maintaining an additional PHP site only for old content will be as big as everything in WordPress.

+1
source

If the content will not change frequently, I recommend using HTML files. They are static and therefore faster.

However, if you intend to frequently update content, you can either upgrade to the latest version of any popular CMS, preferably joomla or drupal. I quote these two because they are being developed rapidly, and you can get them a lot of support online. Be sure to follow the safety guide to simplify your installation.

+2
source

The Static Content project at https://github.com/juliopontes/staticcontent does exactly what you need, although it seems like it might need to be updated for Joomla 3.5.

0
source

Source: https://habr.com/ru/post/1482932/


All Articles