Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Login robots tag not present #14686

Closed
alvarodp opened this issue Mar 17, 2017 · 3 comments
Closed

Login robots tag not present #14686

alvarodp opened this issue Mar 17, 2017 · 3 comments

Comments

@alvarodp
Copy link

alvarodp commented Mar 17, 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');

@brianteeman
Copy link
Contributor

I could not replicate this when testing with the current staging

@joomla-cms-bot
Copy link

Set to "closed" on behalf of @franz-wohlkoenig by The JTracker Application at issues.joomla.org/joomla-cms/14686

@ghost
Copy link

ghost commented Apr 3, 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants