?
avatar alvarodp
alvarodp
17 Mar 2017

Steps to reproduce the issue

  1. Create menu item for "Login form" (alias: login)
  2. In "Metadata" tab, set "Robots" field to "No index, no follow"
  3. Go to http://www.example.com/login (Created item)
  4. View source

Expected result

<meta robots=robots content="noindex, nofollow"/> should be present.

Actual result

It is not.

System information (as much as possible)

  • Multilingual enviroment
  • PHP 7.1.2
  • Apache 2.4.6
  • Joomla 3.6.5
  • SEF URLs: yes
  • URL rewriting: yes
  • Unicode Aliases: yes
  • Cache: On - Progressive

Additional comments

It's solved by modifying line 128 of "components/com_users/views/login/view.html.php":

$this->document->setMetaData('robots', $this->params->get('robots'), 'robots');

avatar alvarodp alvarodp - open - 17 Mar 2017
avatar joomla-cms-bot joomla-cms-bot - change - 17 Mar 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 17 Mar 2017
avatar brianteeman
brianteeman - comment - 20 Mar 2017

I could not replicate this when testing with the current staging

avatar franz-wohlkoenig franz-wohlkoenig - change - 30 Mar 2017
Category Authentication
avatar franz-wohlkoenig franz-wohlkoenig - change - 3 Apr 2017
Priority Medium Low
Status New Closed - Unconfirmed Report
Closed_Date 0000-00-00 00:00:00 2017-04-03 10:51:03
Closed_By franz-wohlkoenig
avatar joomla-cms-bot joomla-cms-bot - close - 3 Apr 2017
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 3 Apr 2017

On 3.6.5 <meta name="robots" content="noindex, nofollow" /> is shown in Source.


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

avatar joomla-cms-bot
joomla-cms-bot - comment - 3 Apr 2017

Add a Comment

Login with GitHub to post a comment