?
avatar Ptacku
Ptacku
9 Apr 2015

Steps to reproduce the issue

While it is possible to configure meta robots for the page generated for a specific tag, there currently is no way set a default value for meta robots for content generated by com_tags other than the site-global defaults.

For SEO purposes this would be badly needed, as content generated by com_tags usually should be marked "noindex, follow" to avoid duplicate content.

Expected result

Request for enhancement: Provide a configuration option to set meta robots for com_tags generated content.

Actual result

System information (as much as possible)

Tested with Joomla 3.3.6

Additional comments

avatar Ptacku Ptacku - open - 9 Apr 2015
avatar Ptacku Ptacku - change - 9 Apr 2015
Labels Removed: ?
avatar zero-24 zero-24 - change - 9 Apr 2015
Labels Added: ?
avatar zero-24
zero-24 - comment - 9 Apr 2015

@spacemonkey

Tested with Joomla 3.3.6

Please try 3.4.1 we have fix a lot of bugs since 3.3.6.

http://www.joomla.org/announcements/release-news/5587-joomla-3-4-1-released.html

avatar Ptacku
Ptacku - comment - 9 Apr 2015

I just did, but I cannot find such a config option on 3.4.1 either.

There are the site-global settings and the settings for a specific tag. But there is no way to configure meta robots for all com_tags generated content.

avatar Ptacku Ptacku - change - 9 Apr 2015
Status New Closed
Closed_Date 0000-00-00 00:00:00 2015-04-09 11:55:10
avatar Ptacku Ptacku - close - 9 Apr 2015
avatar Ptacku Ptacku - close - 9 Apr 2015
avatar Ptacku Ptacku - change - 9 Apr 2015
Status Closed New
avatar Ptacku Ptacku - reopen - 9 Apr 2015
avatar Ptacku Ptacku - reopen - 9 Apr 2015
avatar zero-24
zero-24 - comment - 9 Apr 2015

Ok sorry i have missunderstand you :smile:

There are the site-global settings and the settings for a specific tag. But there is no way to configure meta robots for all com_tags generated content.

Hmm i just check we dont hat similiar for com_content have we? I have not see it.

avatar zero-24 zero-24 - change - 9 Apr 2015
Build 3.3.6 3.4.1
avatar zero-24 zero-24 - change - 9 Apr 2015
Category Feature Request
avatar zero-24 zero-24 - change - 9 Apr 2015
Category Feature Request Feature Request Tags
avatar Ptacku
Ptacku - comment - 9 Apr 2015

Since com_content is more or less the "main thing" of the whole system, I'd consider the site-global defaults sufficient in this case. Also it can be configured for content attached to a menu item on the menu item level.

But feel free to add such a config option on com_content level as well ;-)

avatar zero-24 zero-24 - change - 9 Apr 2015
Status New Confirmed
avatar zero-24
zero-24 - comment - 9 Apr 2015

Thanks now i understand. :smile: Moving to Confirmed.


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/6720.
avatar bertmert
bertmert - comment - 12 Apr 2015

At the moment I recommend to use

JFactory::getDocument()->setMetadata('robots', 'noindex, nofollow');

in template overrides if you want to make sure that robots meta tag is set like you want.

Why? Try this:

  • Install current staging Joomla. with Test English (GB) Sample Data
  • Go to menu manager and set menu filter to "All Front End Views"
  • Search for word "tag" and unpublish 3 com_tags menu items.
  • Goto Components > Tags and open tag "Yellow"
  • Set field "Robots" to "noindex,follow" and save.
  • Front end: Open "Popular Tags" of menu "All Modules".
  • Click tag "Yellow".
  • Open HTML source code of page.

Expected:

<meta name="robots" content="noindex,follow" />

Actual:
No robots meta tag at all.

This is a bug, incomplete code in view.html.php..

if you use menu items, single tag views inherit robots from menu settings. No chance to override them via tag settings. This is different from bahavior of com_content article. There the setting in article itself always rules.

Because I found another issue concerning author meta tags in com_tags I started a PR to fix it and will also fix the robots thing described above.

Afterwards you can take over @Ptacku to find friends for your idea ;-)

avatar Ptacku
Ptacku - comment - 12 Apr 2015

Currently I've implemented what I need by a simple onContentPrepare plugin, which merely checks if it is called in com_tags context and then calls JFactory::getDocument()->setMetadata() as described above.

This works fine for me and I can live with that. Still it would be nice if Joomla could do this out-of-the-box one day.

avatar bertmert
bertmert - comment - 13 Apr 2015

Even if issue described by me above still exists I've closed my PR #6752 and efforts.
com_tags is somehow "strange" ;-)

avatar brianteeman
brianteeman - comment - 8 May 2016

Thank you for your contribution but it has been decided that this is not something that will be changed in the core of Joomla.


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/6720.

avatar brianteeman brianteeman - close - 8 May 2016
avatar brianteeman brianteeman - change - 8 May 2016
Status Confirmed Closed
Closed_Date 2015-04-09 11:55:10 2016-05-08 15:41:41
Closed_By brianteeman

Add a Comment

Login with GitHub to post a comment