Page 1 of 1

Joomla & SEO?

Posted: Sat May 04, 2024 7:00 pm
by SocketPup
I was wondering when it comes to Joomla & SEO, is there anything I should do/don't do to improve my project in this regard?

Re: Joomla & SEO?

Posted: Sat May 04, 2024 7:18 pm
by Per Yngve Berg
Mod. Note: Relocated topic to the J5 SEO Forum.

Re: Joomla & SEO?

Posted: Sat May 04, 2024 10:26 pm
by AMurray
Write relevant content, and use appropriate headings, page titles, and tags. Use appropriate aliases for your menu links and enable the SEF URLS in global configuration.

Keywords and Description can be added but they are not the only thing search engines use.

The above is probably the starting point only with only a few basic concepts.

Re: Joomla & SEO?

Posted: Sun May 05, 2024 4:43 am
by SocketPup
AMurray wrote:
Sat May 04, 2024 10:26 pm
enable the SEF URLS in global configuration.
Yeah, it had already been enabled by default.
What about index.php? For example, there used to be a Head-component in earlier versions of Joomla, but I was told it was no longer used/supported.
In Cassiopeia's index.php for example, I see no:

Code: Select all

<meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Website title</title>
Is this handled differently in Joomla/Cassiopeia template?

Re: Joomla & SEO?

Posted: Sun May 05, 2024 6:03 am
by toivo
The Cassiopeia index.php calls the necessary classes and functions through templates/cassiopeia/component.php and libraries/src/HTML/HTMLHelper.php. AFAIK, the relevant script is libraries/src/Document/Renderer/Html/HeadRenderer.php.

If you would like to customise the outcome, write a system plugin for the onBeforeCompileHead event.

Re: Joomla & SEO?

Posted: Sun May 05, 2024 6:13 am
by Per Yngve Berg
They are set by Web Assets Manager ( The $wa object)