no meta keywords Topic is solved

Discuss Search Engine Optimization in relation to Joomla! 4.x. This forum will also have discussions on SEF/SEO Joomla! 4.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
bergerkos
Joomla! Apprentice
Joomla! Apprentice
Posts: 12
Joined: Wed Oct 03, 2012 1:58 am

no meta keywords

Post by bergerkos » Fri Oct 08, 2021 11:14 am

Hello, everyone :D

Seems like nobody has asked this yet for Joomla 4...
All in all it seems to be a rather advanced thing, css grids etc. But some things aren't that obvious.

So, for some reason or other, 'View page source' for my (J4-based) site doesn't show meta keywords. Only shows meta "rights", "viewport" and "description" (I got rid of "generator" tag showing Joomla as my backend).
The only place I found where keywords can be added using Joomla! tools is an Article: Article -> Publishing -> Metadata -> Keywords.
All right, but adding keywords there doesn't make them visible either... Funny, because Metadata -> Meta description does show all right.

It mentions in the (brief) documentation some brand new management of SEO... Supposed to be a good thing, I'm sure. But how do I make meta keywords work? I'm using Cassiopea template, which I have modified a bit (added new full-width module position).


Thanks in advance for your help :)
Last edited by bergerkos on Fri Oct 08, 2021 11:42 am, edited 1 time in total.

bergerkos
Joomla! Apprentice
Joomla! Apprentice
Posts: 12
Joined: Wed Oct 03, 2012 1:58 am

Re: no meta keywords

Post by bergerkos » Fri Oct 08, 2021 11:34 am

Forum Post Assistant (v1.6.2) : 8-Oct-2021 wrote:
Basic Environment :: wrote:Joomla! Instance :: Joomla! 4.0.3-Stable (Furaha) 12-September-2021
Joomla! Configured :: Yes | Read-Only (444) |
Configuration Options :: Offline: false | SEF: true | SEF Suffix: false | SEF ReWrite: false | .htaccess/web.config: No | GZip: false | Cache: false | CacheTime: 15 | CacheHandler: file | CachePlatformPrefix: false | FTP Layer: N/A | Proxy: false | LiveSite: | Session lifetime: 15 | Session handler: database | Shared sessions: false | SSL: 0 | Error Reporting: default | Site Debug: false | Language Debug: false | Default Access: 1 | Unicode Slugs: false | dbConnection Type: mysqli | PHP Supports J! 4.0.3: Yes | Database Supports J! 4.0.3: Yes | Database Credentials Present: Yes |

Host Configuration :: OS: Linux | OS Version: 3.10.0-1160.11.1.el7.x86_64 | Technology: x86_64 | Web Server: Apache | Encoding: gzip, deflate | System TMP Writable: Yes | Free Disk Space : 724.38 GiB |

PHP Configuration :: Version: 7.4.21 | PHP API: apache2handler | Session Path Writable: Yes | Display Errors: 0 | Error Reporting: 22519 | Log Errors To: | Last Known Error: | Register Globals: | Magic Quotes: | Safe Mode: | Allow url fopen: 1 | Open Base: | Uploads: 1 | Max. Upload Size: 50M | Max. POST Size: 50M | Max. Input Time: 30 | Max. Execution Time: 30 | Memory Limit: 128M

Database Configuration :: Version: 5.5.5-10.3.27-MariaDB-log (Client:mysqlnd 7.4.21) | Database Size: 29.20 MiB | #of Tables with config prefix: 80 | #of other Tables: 291 | User Privileges : GRANT ALL
Detailed Environment :: wrote:PHP Extensions :: Core (7.4.21) | date (7.4.21) | libxml (7.4.21) | openssl (7.4.21) | pcre (7.4.21) | sqlite3 (7.4.21) | zlib (7.4.21) | dom (20031129) | filter (7.4.21) | hash (7.4.21) | iconv (7.4.21) | json (7.4.21) | SPL (7.4.21) | PDO (7.4.21) | pdo_sqlite (7.4.21) | Reflection (7.4.21) | session (7.4.21) | SimpleXML (7.4.21) | standard (7.4.21) | xml (7.4.21) | xmlreader (7.4.21) | xmlwriter (7.4.21) | mysqlnd (mysqlnd 7.4.21) | apache2handler (7.4.21) | apcu (5.1.17) | apc (5.1.17) | bcmath (7.4.21) | bz2 (7.4.21) | calendar (7.4.21) | ctype (7.4.21) | curl (7.4.21) | dba (7.4.21) | dbase (7.1.0RC2) | mbstring (7.4.21) | fileinfo (7.4.21) | ftp (7.4.21) | gd (7.4.21) | gettext (7.4.21) | imagick (@PACKAGE_VERSION@) | imap (7.4.21) | ldap (7.4.21) | exif (7.4.21) | mcrypt (1.0.3) | memcache (4.0.5.2) | mysqli (7.4.21) | mysql (1.0.0-dev) | pdo_mysql (7.4.21) | pdo_pgsql (7.4.21) | pgsql (7.4.21) | Phar (7.4.21) | posix (7.4.21) | pspell (7.4.21) | soap (7.4.21) | sockets (7.4.21) | tidy (7.4.21) | timezonedb (2016.6) | tokenizer (7.4.21) | xmlrpc (7.4.21) | xsl (7.4.21) | zip (1.19.2) | ionCube Loader (10.4.5) | Zend OPcache (7.4.21) | Zend Engine (3.4.0) |
Potential Missing Extensions ::

Switch User Environment :: PHP CGI: No | Server SU: No | PHP SU: No | Potential Ownership Issues: No

Apache Modules :: core | mod_authn_file | mod_authn_default | mod_authz_host | mod_authz_groupfile | mod_authz_user | mod_authz_default | mod_auth_basic | mod_include | mod_filter | mod_log_config | mod_logio | mod_env | mod_expires | mod_headers | mod_setenvif | mod_version | pizza | http_core | mod_mime | mod_status | mod_autoindex | mod_asis | mod_info | mod_cgi | mod_negotiation | mod_dir | mod_actions | mod_alias | mod_rewrite | mod_so | mod_rpaf-2 | mod_deflate | mod_perl | mod_instaweb | mod_wsgi | mod_php7 | Apache |
Potential Missing Modules :: mod_security | mod_evasive | mod_dosevasive | mod_ssl | mod_qos | mod_userdir |
Folder Permissions :: wrote:Core Folders :: images/ (755) | components/ (755) | modules/ (755) | plugins/ (755) | language/ (755) | templates/ (755) | cache/ (755) | logs/ (---) | tmp/ (755) | administrator/components/ (755) | administrator/modules/ (755) | administrator/language/ (755) | administrator/templates/ (755) | administrator/logs/ (755) |

Elevated Permissions (First 10) ::
Database Information :: wrote:Database statistics :: Uptime: 13750009 | Threads: 58 | Questions: 30665121578 | Slow queries: 44976 | Opens: 463235 | Flush tables: 1 | Open tables: 96988 | Queries per second avg: 2230.189 |
Extensions Discovered :: wrote:Components :: Site ::
Core ::
3rd Party::

Components :: Admin ::
Core :: com_wrapper (4.0.0) 1 | com_finder (4.0.0) 1 | com_privacy (3.9.0) 1 | com_banners (4.0.0) 1 | com_mails (4.0.0) 1 | com_ajax (4.0.0) 1 | com_media (3.0.0) 1 | com_content (4.0.0) 1 | com_templates (4.0.0) 1 | com_actionlogs (3.9.0) 1 | com_associations (4.0.0) 1 | com_tags (4.0.0) 1 | com_modules (4.0.0) 1 | com_messages (4.0.0) 1 | com_contenthistory (4.0.0) 1 | com_workflow (4.0.0) 1 | com_redirect (4.0.0) 1 | com_categories (4.0.0) 1 | com_users (4.0.0) 1 | com_installer (4.0.0) 1 | com_fields (4.0.0) 1 | com_newsfeeds (4.0.0) 1 | com_cpanel (4.0.0) 1 | com_login (4.0.0) 1 | com_languages (4.0.0) 1 | com_admin (4.0.0) 1 | com_postinstall (4.0.0) 1 | com_checkin (4.0.0) 1 | com_joomlaupdate (4.0.2) 1 | com_menus (4.0.0) 1 | com_config (4.0.0) 1 | com_plugins (4.0.0) 1 | com_cache (4.0.0) 1 |
3rd Party:: System - Carousel CK (2.1.0) 1 | Carousel CK - Flickr (2.1.0) 1 | Carousel CK - K2 (2.1.0) 1 | Carousel CK - Google (2.1.0) 1 | Carousel CK - Hikashop (2.1.0) 1 | Carousel CK - Articles (2.1.0) 1 | Carousel CK - Folder (2.1.0) 1 | Carousel CK - Joomgallery (2.1.0) 1 | Carousel CK (2.1.1) 1 | com_carouselck (2.1.1) 1 | SP Page Builder (3.7.15) 1 | com_akeebabackup (9.0.7) 1 |

Modules :: Site ::
Core :: mod_whosonline (3.0.0) 1 | mod_login (3.0.0) 1 | mod_tags_similar (3.1.0) 1 | mod_menu (3.0.0) 1 | mod_languages (3.5.0) 1 | mod_feed (3.0.0) 1 | mod_articles_categories (3.0.0) 1 | mod_related_items (3.0.0) 1 | mod_random_image (3.0.0) 1 | mod_footer (3.0.0) 1 | mod_articles_news (3.0.0) 1 | mod_articles_archive (3.0.0) 1 | mod_tags_popular (3.1.0) 1 | mod_articles_category (3.0.0) 1 | mod_finder (3.0.0) 1 | mod_breadcrumbs (3.0.0) 1 | mod_articles_popular (3.0.0) 1 | mod_banners (3.0.0) 1 | mod_articles_latest (3.0.0) 1 | mod_custom (3.0.0) 1 | mod_users_latest (3.0.0) 1 | mod_stats (3.0.0) 1 | mod_syndicate (3.0.0) 1 | mod_wrapper (3.0.0) 1 |
3rd Party:: JE Social Icons (3.4) 1 | Carousel CK (2.1.1) 1 | SP Page Builder (1.5) 1 |

Modules :: Admin ::
Core :: mod_popular (3.0.0) 1 | mod_login (3.0.0) 1 | mod_menu (3.0.0) 1 | mod_submenu (3.0.0) 1 | mod_latest (3.0.0) 1 | mod_privacy_status (4.0.0) 1 | mod_feed (3.0.0) 1 | mod_messages (4.0.0) 1 | mod_post_installation_messages (4.0.0) 1 | mod_toolbar (3.0.0) 1 | mod_user (4.0.0) 1 | mod_privacy_dashboard (3.9.0) 1 | mod_loginsupport (4.0.0) 1 | mod_stats_admin (3.0.0) 1 | mod_multilangstatus (3.0.0) 1 | mod_version (3.0.0) 1 | mod_logged (3.0.0) 1 | mod_frontend (4.0.0) 1 | mod_custom (3.0.0) 1 | mod_title (3.0.0) 1 | mod_latestactions (3.9.0) 1 | mod_sampledata (3.8.0) 1 | mod_quickicon (3.0.0) 1 |
3rd Party::

Libraries ::
Core ::
3rd Party::

Plugins ::
Core :: plg_twofactorauth_totp (3.2.0) 1 | plg_twofactorauth_yubikey (3.2.0) 1 | plg_fields_media (3.7.0) 1 | plg_fields_radio (3.7.0) 1 | plg_fields_user (3.7.0) 1 | plg_fields_sql (3.7.0) 1 | plg_fields_integer (3.7.0) 1 | plg_fields_subform (4.0.0) 1 | plg_fields_text (3.7.0) 1 | plg_fields_url (3.7.0) 1 | plg_fields_textarea (3.7.0) 1 | plg_fields_usergrouplist (3.7.0) 1 | plg_fields_checkboxes (3.7.0) 1 | plg_fields_imagelist (3.7.0) 1 | plg_fields_calendar (3.7.0) 1 | plg_fields_editor (3.7.0) 1 | plg_fields_list (3.7.0) 1 | plg_fields_color (3.7.0) 1 | plg_content_fields (3.7.0) 1 | plg_content_vote (3.0.0) 0 | plg_content_pagenavigation (3.0.0) 1 | plg_content_loadmodule (3.0.0) 1 | plg_content_finder (3.0.0) 1 | plg_content_joomla (3.0.0) 1 | plg_content_confirmconsent (3.9.0) 0 | plg_content_emailcloak (3.0.0) 1 | plg_content_pagebreak (3.0.0) 1 | plg_filesystem_local (4.0.0) 1 | plg_behaviour_taggable (4.0.0) 1 | plg_behaviour_versionable (4.0.0) 1 | plg_editors-xtd_fields (3.7.0) 1 | plg_editors-xtd_image (3.0.0) 1 | plg_editors-xtd_readmore (3.0.0) 1 | plg_editors-xtd_menu (3.7.0) 1 | plg_editors-xtd_article (3.0.0) 1 | plg_editors-xtd_module (3.5.0) 1 | plg_editors-xtd_pagebreak (3.0.0) 1 | plg_user_joomla (3.0.0) 1 | plg_user_token (3.9.0) 1 | plg_user_contactcreator (3.0.0) 0 | plg_user_terms (3.9.0) 0 | plg_user_profile (3.0.0) 0 | plg_quickicon_downloadkey (4.0.0) 1 | plg_quickicon_phpversioncheck (3.7.0) 1 | plg_quickicon_extensionupdate (3.0.0) 1 | plg_quickicon_overridecheck (4.0.0) 1 | plg_quickicon_joomlaupdate (3.0.0) 1 | plg_quickicon_privacycheck (3.9.0) 1 | plg_finder_content (3.0.0) 1 | plg_finder_newsfeeds (3.0.0) 1 | plg_finder_contacts (3.0.0) 1 | plg_finder_categories (3.0.0) 1 | plg_finder_tags (3.0.0) 1 | plg_webservices_content (4.0.0) 1 | plg_webservices_redirect (4.0.0) 1 | plg_webservices_newsfeeds (4.0.0) 1 | plg_webservices_modules (4.0.0) 1 | plg_webservices_languages (4.0.0) 1 | plg_webservices_templates (4.0.0) 1 | plg_webservices_plugins (4.0.0) 1 | plg_webservices_privacy (4.0.0) 1 | plg_webservices_installer (4.0.0) 1 | plg_webservices_banners (4.0.0) 1 | plg_webservices_config (4.0.0) 1 | plg_webservices_users (4.0.0) 1 | plg_webservices_tags (4.0.0) 1 | plg_webservices_messages (4.0.0) 1 | plg_webservices_menus (4.0.0) 1 | plg_privacy_content (3.9.0) 1 | plg_privacy_user (3.9.0) 1 | plg_privacy_actionlogs (3.9.0) 1 | plg_privacy_consents (3.9.0) 1 | plg_privacy_message (3.9.0) 1 | plg_actionlog_joomla (3.9.0) 1 | plg_installer_webinstaller (4.0.0) 1 | plg_installer_urlinstaller (3.6.0) 1 | plg_installer_packageinstaller (3.6.0) 1 | plg_installer_folderinstaller (3.6.0) 1 | plg_installer_override (4.0.0) 1 | plg_system_fields (3.7.0) 1 | plg_system_sef (3.0.0) 1 | plg_system_logrotation (3.9.0) 1 | plg_system_redirect (3.0.0) 0 | plg_system_highlight (3.0.0) 1 | plg_system_log (3.0.0) 1 | plg_system_actionlogs (3.9.0) 1 | plg_system_updatenotification (3.5.0) 1 | plg_system_logout (3.0.0) 1 | plg_system_httpheaders (4.0.0) 1 | plg_system_privacyconsent (3.9.0) 0 | plg_system_languagefilter (3.0.0) 0 | plg_system_stats (3.5.0) 0 | plg_system_accessibility (4.0.0) 0 | plg_system_languagecode (3.0.0) 0 | plg_system_sessiongc (3.8.6) 1 | plg_system_remember (3.0.0) 1 | plg_system_skipto (4.0.0) 1 | plg_system_cache (3.0.0) 0 | plg_system_debug (3.0.0) 1 | plg_system_webauthn (4.0.0) 1 | plg_sampledata_multilang (4.0.0) 1 | plg_authentication_ldap (3.0.0) 0 | plg_authentication_joomla (3.0.0) 1 | plg_authentication_cookie (3.0.0) 1 | plg_captcha_recaptcha_invisible (3.8) 0 | plg_captcha_recaptcha (3.4.0) 0 | plg_extension_finder (4.0.0) 1 | plg_extension_joomla (3.0.0) 1 | plg_extension_namespacemap (4.0.0) 1 | plg_api-authentication_basic (4.0.0) 0 | plg_api-authentication_token (4.0.0) 1 | plg_workflow_publishing (4.0.0) 1 | plg_workflow_featuring (4.0.0) 1 | plg_workflow_notification (4.0.0) 1 | plg_media-action_resize (4.0.0) 1 | plg_media-action_crop (4.0.0) 1 | plg_media-action_rotate (4.0.0) 1 |
3rd Party:: Carousel CK - Flickr (2.1.0) 1 | Carousel CK - K2 (2.1.0) 1 | Carousel CK - Google (2.1.0) 1 | Carousel CK - Hikashop (2.1.0) 1 | Carousel CK - Articles (2.1.0) 1 | Carousel CK - Folder (2.1.0) 1 | Carousel CK - Joomgallery (2.1.0) 1 | PLG_QUICKICON_AKEEBABACKUP (9.0.7) 1 | System - Carousel CK (2.1.0) 1 | plg_editors_tinymce (5.8.2) 1 | plg_editors_codemirror (5.62.2) 1 |
Templates Discovered :: wrote:Templates :: Site :: sj_basic4 (1.0.2) 1 | cassiopeia (1.0) 1 |
Templates :: Admin :: atum (1.0) 1 |

User avatar
djadan
Joomla! Apprentice
Joomla! Apprentice
Posts: 38
Joined: Fri May 24, 2013 10:03 am
Location: London, England
Contact:

Re: no meta keywords

Post by djadan » Fri Oct 08, 2021 12:34 pm

Hello,

I can see what you mean about there only being a meta description for the menu item in J4. This article might explain why keywords aren't included:

https://www.sem rush.com/blog/meta-keywords/ - "It does not appear that Google uses meta keywords elements"

I don't know whether that was the official reason for Joomla not including keywords as it used to, but it's quite possible.

Hope that helps.
Trying to get things done the right way with a good balance between life and work.
Joomla developer in London - www.djalondon.co.uk

bergerkos
Joomla! Apprentice
Joomla! Apprentice
Posts: 12
Joined: Wed Oct 03, 2012 1:58 am

Re: no meta keywords

Post by bergerkos » Fri Oct 08, 2021 12:38 pm

Right, I've noticed this, too.

But here is exactly what it says at the Joomla! documentation page:
The meta keyword tag found in the head of most Web documents has little effect for Google, Bing and many of the other larger search engines any more, however some search engines such as Yahoo do still make use of the meta tags as part of their algorithm - so again this is something you should still continue to provide.

User avatar
djadan
Joomla! Apprentice
Joomla! Apprentice
Posts: 38
Joined: Fri May 24, 2013 10:03 am
Location: London, England
Contact:

Re: no meta keywords

Post by djadan » Fri Oct 08, 2021 12:49 pm

As in this page? https://docs.joomla.org/Using_Keywords which is from 2019, ie pre-J4

Maybe what they need to do is update the documentation to help manage people's expectations.
Trying to get things done the right way with a good balance between life and work.
Joomla developer in London - www.djalondon.co.uk

User avatar
brian
Joomla! Master
Joomla! Master
Posts: 12600
Joined: Fri Aug 12, 2005 7:19 am
Location: Leeds, UK
Contact:

Re: no meta keywords

Post by brian » Fri Oct 08, 2021 12:49 pm

That documentation page is out of date

The official reason is exactly what @djadan said. They serve no purpose so they were removed.

You will see a keywords field however as this is also used for things like the related articles module
"Exploited yesterday... Hacked tomorrow"
Blog http://brian.teeman.net/
Joomla Hidden Secrets http://hiddenjoomlasecrets.com/

User avatar
djadan
Joomla! Apprentice
Joomla! Apprentice
Posts: 38
Joined: Fri May 24, 2013 10:03 am
Location: London, England
Contact:

Re: no meta keywords

Post by djadan » Fri Oct 08, 2021 12:55 pm

Hi @brian that's a helpful note about using keywords in articles. I can see why it might be confusing though. Maybe it should include a brief explanation to save people filling it in for the wrong reasons ie SEO.
Trying to get things done the right way with a good balance between life and work.
Joomla developer in London - www.djalondon.co.uk

User avatar
sozzled
Joomla! Master
Joomla! Master
Posts: 12663
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia

Re: no meta keywords

Post by sozzled » Fri Oct 08, 2021 5:45 pm

@brian is right: keywords serve no purpose for SEO. Keywords are used by the Related Articles module in J! 4; that is their only purpose, AFAICT.

Perhaps, a decade ago, keywords may have served some purpose with SERPs but, today, they don't.

We have these discussions on this forum from time to time. Many people—self-professed SEO "experts"—write about stuffing keywords into web content as a way of improving SERP rankings. As @brian has written more times on this forum than I can remember, search engines pay no attention to keywords when indexing content. Use keywords if you want but just remember that they're only there as a way of grouping related content together within the confines of your website; outside of your website, no-one else knows (or cares) about whatever "keywords" you may have defined.
“If you think I’m wrong then say, ‘I think you’re wrong.’ If you say ‘You’re wrong!’, how do you know?”
Walking the talk: https://j4xdemo.enduring.com.au
:)

bergerkos
Joomla! Apprentice
Joomla! Apprentice
Posts: 12
Joined: Wed Oct 03, 2012 1:58 am

Re: no meta keywords

Post by bergerkos » Mon Oct 11, 2021 6:45 am

OK thanks a lot for this clarification, folks :D

Won't waste my time on this, then.

bergerkos
Joomla! Apprentice
Joomla! Apprentice
Posts: 12
Joined: Wed Oct 03, 2012 1:58 am

Re: no meta keywords

Post by bergerkos » Mon Oct 11, 2021 6:58 am

One more question. How do I mark the thread "solved" or something? Also, I wasn't able to link the particular Joomla doc page (the outdated one), was immediately warned about trying to post something "not related to Joomla!" ;)

User avatar
sozzled
Joomla! Master
Joomla! Master
Posts: 12663
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia

How to mark thread as Solved

Post by sozzled » Mon Oct 11, 2021 7:20 am

@bergerkos: As the author of a forum topic, look at the message that best answers your question and choose the "tick" option.
You do not have the required permissions to view the files attached to this post.
“If you think I’m wrong then say, ‘I think you’re wrong.’ If you say ‘You’re wrong!’, how do you know?”
Walking the talk: https://j4xdemo.enduring.com.au
:)

User avatar
DV-admin
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 129
Joined: Wed Sep 20, 2017 7:24 am
Location: Genova
Contact:

Re: no meta keywords

Post by DV-admin » Thu Mar 17, 2022 11:39 am

@brian is right: keywords serve no purpose for SEO. Keywords are used by the Related Articles module in J! 4; that is their only purpose, AFAICT.
Well they are also still used in Joomla Banners component as well as related articles so it would be nice to get this back. I have no use for keywords in SEO however I need them to use all the features of Joomla!! :(

User avatar
DV-admin
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 129
Joined: Wed Sep 20, 2017 7:24 am
Location: Genova
Contact:

Re: How to mark thread as Solved

Post by DV-admin » Wed Jul 06, 2022 6:00 am

sozzled wrote:
Mon Oct 11, 2021 7:20 am
@bergerkos: As the author of a forum topic, look at the message that best answers your question and choose the "tick" option.
Sadly I agree this issue is still not resolved. I wish someone would look into it. :-\

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

Re: no meta keywords

Post by Per Yngve Berg » Wed Jul 06, 2022 6:47 am

Keywords are still present. Even through they are not in the html output, they work in related articles module.

toro-detor
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Mon Oct 04, 2021 8:40 am

Re: no meta keywords

Post by toro-detor » Sun Jul 24, 2022 11:12 am

Well in Joomla-3 I always emphasized "there's a place where you can fill in keywords - make use of it".

The argument that the metatag for keywords is useless, might be right. However for all those who look at this post in the future, and who prefer to still have that metatag (like I do) - here's the solution.

Hardcode the global keywords
1. go to templates/your-template/index.php (or inside backend, go directly to this file)
2. at the top, in the php-section, there are a lot of declarations,
the last one is probably "$pageclass = $menu ...."
3. enter new line below that: $this->setMetaData('keywords', 'enter your global keywords here' );
THIS IS MISSING IN CASSIOPEIA-TEMPLATE (well, maybe they change it in future)
Here you can also enter other metatags for example geo-location etc. (which google checks)
and: $this->setGenerator('Joomla-4 Template designed by me'); :)
4. Now scroll down on same page to the html-section and ensure after opening <head> you have:
<jdoc:include type="metas" />
This is present in Cassiopeia-template, so dont write it twice.

Note: "Hardcoded" means it will display in the source-code of every page of your site, regardless what you fill in in other places, those will be overwritten ... if they would show, but they don't.

Hartstongue
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Fri Aug 12, 2022 8:44 am

Re: no meta keywords

Post by Hartstongue » Fri Aug 12, 2022 8:58 am

DV-admin wrote:
Thu Mar 17, 2022 11:39 am
@brian is right: keywords serve no purpose for SEO. Keywords are used by the Related Articles module in J! 4; that is their only purpose, AFAICT.
Well they are also still used in Joomla Banners component as well as related articles so it would be nice to get this back. I have no use for keywords in SEO however I need them to use all the features of Joomla!! :(
I agree. I updated my site from 3.10 to 4.1.5 yesterday and wondered why my banners weren't showing. My site used meta keywords organise banners throughout the 2,700 articles on the website.

The keywords are still stored in the articles and menus. Is there a tweak to read that information and pass it to the template?


Post Reply

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