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

meta-robots special settings are not working for items or component/tags ? Only default setting is active #20128

Closed
Repitol opened this issue Apr 10, 2018 · 6 comments

Comments

@Repitol
Copy link

Repitol commented Apr 10, 2018

Steps to reproduce the issue

Hi, when you choose in Joomla settings - Robots : index,follow
the meta tag isn't displayed in source code even for articles set to no-index, no-follow.
I could see the same problem for tags set to "no-index, no-follow"
it seems the settings in Joomla configuration overrides what you set elsewhere

Expected result

article or tags settings in publishing/robots "no-index,no-follow" should be taken into account
source code should displays

Actual result

If general Joomla settings are set to robots : Index, follow
source code doesn't display meta name robots even when you change that on some contents
so these contents are indexed and followed

System information (as much as possible)

Additional comments

tested on Joomla 3.8.6 with every default templates or commercial templates
Can you reproduce the bug ?
That is a real problem for content you don't want to be indexed.
Thanks

@brianteeman
Copy link
Contributor

It is correct that if you set index,follow that it is not in the source because this is the default behaviour so it is not needed.

I set an article to no index, no follow and it was correctly set as that

@Repitol
Copy link
Author

Repitol commented Apr 11, 2018

Hi,
right; it works for article but not for tags pages
If you create a tag then go to component/tags/ and set this tag as no-follow
can you see the meta in the source code for the tag page ?
Sometimes tags pages doesn't need to be followed.
Thanks

@Repitol
Copy link
Author

Repitol commented Apr 12, 2018

Hi, should I open a new thread for this problem in tag pages ?
regards

@jwaisner
Copy link
Member

@Repitol are you still experiencing this issue in the latest version of J3?

@ReLater
Copy link
Contributor

ReLater commented Mar 13, 2020

Yes, it's a bug (or not ;-) ).

The main problem is that all tags view.html.php can display 0, 1 ore more tags on 1 page.

The only half-baked solution I see for this issue is to check if only 1 tag is displayed on a tag view page and only then let rule the robots setting of this single tag.
(I'll try a pr.)

Another solution could be to declare the setting "robots" as misleading and remove it from tag settings.

@ReLater
Copy link
Contributor

ReLater commented Mar 13, 2020

Please test #28334
(and discuss ;-) )

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

6 participants