Joomla 4 has some intricate feature settings you probably want to adjust early on in your creation of a site in order to maximise your eligibility for search engine rankings without penalties. You can look at third party extensions to help address this, but why not start by optimising the system without third party additions first to see if it is enough for your requirements. Joomla is a mature content management system and there are lots of adjustments you can make before you look for more specialised tools.
These settings and changes are by necessity in different components of Joomla. Although this is confusing and you may well wonder why there is not one single configuration page it is because the changes don't universally apply to a given site, group of related sites or their content and their hosting provider.
TL:DR – Configuring your htaccess, site settings and enabling the SEF plugin all help to make Joomla search engine friendly. Read on to find out how. Easy to do. Takes about 15 minutes.
Apache or Litespeed web server htaccess overrides
- Check with your hosting provider that your web site configuration allows for
htaccessoverrides. They may need to turn it on.
- In a newly created Joomla site you'll find a file in the base folder called
htaccess.txt. This is the Joomla supplied recommended
htaccessfile and contains (among other things) some SEF rewriting rules designed to help your site work with search engines.
- Rename it by removing the
.txtand adding a dot in front of
htaccessand it will take effect.
Search Engine Friendly Joomla Site settings
Opinions vary, but it is worth filling out the site settings.
- Site Meta Description – This is nothing more than a brief summary of the site. It is recommended to fill it out, although search engines may use other factors and information for ranking and descriptions. Joomla will use this on any page within your site that does not have its own meta description which is bad for search engine ranking, but we're always going to have a description for each article and listing page.
- Robots – This is set to
index,followwhich is the default, and instructs search engines that it is ok to index your site.
- Content Rights – I include the Creative Commons text which is in my page footer here, so it is in the source of every article.
- Author – I include it and it adds a meta tag with the name of the author, usually me.
<meta name="author" content="Angus Fox">
- Joomla Version – I hide this, so as not to provide information which might help those looking for potential vulnerabilities.
- Search engine Friendly URLs – Set to yes, although perhaps not needed as this doesn't use the rewriting rules in htaccess
- Use URL rewriting – Set to yes, because we ar eusing Apache htaccess URL rewriting to give us a readable URL for each page like this one
- Add suffix to URL – because they look wrong to me without
.htmlat the end. Doesn't really impact SEO / SEF.
- Unicode aliases – Set to no
- Site Name in Page Titles – Set to
Beforeto make the page titles prettier for example when they show up in cards on social media.
System SEF plugin - Canonical links for Joomla
- Open the Plugin Manager, find System - SEF plugin.
- Enter the Site domain, for example
https://www.ezone.co.uk. This plugin enables canonical links for your Joomla site articles. A canonical link element can prevent duplicate content issues in search engine optimization by specifying the "canonical" or "preferred" version of a web page. It has to be a plugin setting not a site setting
- Enable the plugin and save