Advertisement

Configure page title

Discuss Search Engine Optimization in relation to Joomla! 5.x. This forum will also have discussions on SEF/SEO Joomla! 5.x extensions.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Post Reply
jeromebg
Joomla! Apprentice
Joomla! Apprentice
Posts: 16
Joined: Thu Feb 28, 2008 12:10 pm

Configure page title

Post by jeromebg » Fri Sep 20, 2024 10:42 am

Hello,
How can I add categories titles in the page title when displaying an article ?
In Joomla 3 I was doing that with SEF404, can it be done without extension in Joomla 5 ?
Something like :
<title>Article title | Category title | sub category title</tilte>

Thanx !

Advertisement
User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 31278
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: Configure page title

Post by Per Yngve Berg » Fri Sep 20, 2024 12:07 pm

Page Title is set in the Menu Item. It shows in a h1 tag.

Do you have a Menu Item for each Category?

The Article Title is below in a h2 tag.

jeromebg
Joomla! Apprentice
Joomla! Apprentice
Posts: 16
Joined: Thu Feb 28, 2008 12:10 pm

Re: Configure page title

Post by jeromebg » Fri Sep 20, 2024 12:09 pm

Sorry if I wasn't clear enough, I'm talking about title tag in the head part, not in the body

shumisha
Joomla! Guru
Joomla! Guru
Posts: 544
Joined: Sat Aug 20, 2005 3:15 pm
Contact:

Re: Configure page title

Post by shumisha » Fri Sep 20, 2024 12:23 pm

Hi,

You can of course manually set the page title in an article (it's called Browser title) but it'll have to be manually done ok each article.

I have not included the specific sh404SEF feature your are mentioning exactly as is in 4SEO, its successor, because this particular pattern (title | sub cat | cat) has been found to trigger Google title rewriting (they change your title to one they prefer). But you can add a rule to have for instance, Title | Category.
4SEO, 4AI, 4Command, 4Podcast, 4Video, SEO and content extensions for Joomla 3, 4 & 5 - https://weeblr.com
I don't reply to PM anymore. Thanks for using our extensions.

jeromebg
Joomla! Apprentice
Joomla! Apprentice
Posts: 16
Joined: Thu Feb 28, 2008 12:10 pm

Re: Configure page title

Post by jeromebg » Fri Sep 20, 2024 12:28 pm

Ok,
Thank you for the tip !
So I still need a third party plugin to achieve that automatically for each article ?
In what Joomla core file is managed the browser title ?

shumisha
Joomla! Guru
Joomla! Guru
Posts: 544
Joined: Sat Aug 20, 2005 3:15 pm
Contact:

Re: Configure page title

Post by shumisha » Fri Sep 20, 2024 12:47 pm

> So I still need a third party plugin to achieve that automatically for each article ?

To my knowledge, yes.

> In what Joomla core file is managed the browser title ?

I'd think you can update the title either by hooking into the onBeforeCompileHead event, or by overrides in your template. Can't say which specific file though
4SEO, 4AI, 4Command, 4Podcast, 4Video, SEO and content extensions for Joomla 3, 4 & 5 - https://weeblr.com
I don't reply to PM anymore. Thanks for using our extensions.

Advertisement

Post Reply

Return to “Search Engine Optimization (Joomla! SEO) in Joomla! 5.x”