By Peter Martin on Thursday, 17 December 2020
Category: December

The Making of “The Best Website”

Peter Martin was annoyed by bad websites, got inspired by some packaging, and built a multilingual Joomla website in 5 languages under 5 Top Level Domains about the best practices for websites.

1. The Idea

I see bad websites

Since 2005 I have been building Joomla websites and extensions professionally. Ever since I have been active on the internet, I have come across a lot of beautiful websites. Unfortunately, even more often I stumble on bad websites: loading slowly, unclear navigation, difficult to read due to lack of contrast, badly constructed texts, or layout issues. Such websites are often easy to improve with just a few minor changes.

Liquorice

The Netherlands is the country of “Stroopwafels” and liquorice. Stroopwafels, thin biscuits with caramel in between, are already known in the Joomla community. Sweet or salty liquorice is often eaten as candy in my country. Last September I queued for the cash register at a local farm shop that sells local vegetables and delicacies. A pack of liquorice: “De Beste Drop Ooit” caught my eye. In English: "Klepper & Klepper present: The Best Liquorice Ever - according to Klepper & Klepper". I had to laugh about the funny packaging with its pretentious claim.

A website about websites

I had been thinking about creating a great Joomla website that I could demonstrate to my customers. To show the power of Joomla CMS. Its core multilingual and comprehensive authorization features. And how to optimize everything. In the afternoon on the couch with a cup of English tea (PG Tips), I thought again about “The Best Liquorice Ever”.

The best website

So what about creating “the best website”? An optimized website about the best practices for websites. To motivate website owners to improve their websites. To inspire other website builders on how to build good websites and optimize them using a range of possible tests.

To my surprise, the domain names de-best-website.nl and the-best-website.com were still available for registration. I installed a new Joomla site and configured it as a multilingual website. A day later I decided to register the German die-beste-website.de, French le-meilleur-site-web.fr and Spanish domain name el-mejor-sitio-web.es.

2. Implementation

The website is one instance of Joomla 3.9.x with four additional language packs:

Dutch (nl-NL), German (de-DE), French (fr-FR) and Spanish (es-ES).

Content structure

For each language I created categories and articles like:

English (category)

I created a similar Menu Item structure and “Language Associated” Menu Items with its equivalents in the other languages. I did the same for Categories and Articles, just to make it easier to maintain in the back-end.

Layout

For the Layout of the website, I used Yootheme Pro (commercial extension). It’s a responsive template that optimizes images. It has a dynamic page builder called “Templates”. You can construct the Category Blog and Single Article View, and assign them to specific Categories or Articles.

TLD per Language

Finally, to bind the five languages on the website to their Top Level Domain (TLD) counterparts, I used a System Plugin called “Language Domains”. It was developed by Jisse Reitsma, the author of the well-known book “Programming Joomla Plugins”. As it is an unmaintained project, I adapted the code for Name Spacing and PHP 7.4.

3. Extensions

I like to stick to the Joomla core. Use as few non-core extensions as possible. That way the website will be easier to maintain and use less resources (thus loads faster). The following extensions make it easier to work with Joomla. Removing them won’t interfere much with the front-end of the website.

4. Challenges

When building the website, I ran into a couple of difficulties:

5. Result

The Best Website discusses the best practices for a good website from the visitor’s point of view. And from the point of view of the administrators that have to maintain the website.

Furthermore, it discusses why “The Best Website” is a good website for visitors and administrators, based on various tests. And it gives an overview of all the tests so that website owners and builders can test their own websites.

Finally, the website has some background information about the purpose of the website, imprint, privacy statement, contact form and an HTML sitemap.

This structure is used consistently over the whole multilingual Joomla website. The website has five languages and each of them is available under its own Top Level Domain. When you visit one of the domains, it automatically selects its corresponding language. When you use the language switch to select another language, you’ll get redirected to the corresponding Top Level Domain.

You can see it in action:

Leave Comments