Keyword

Metadata robots not working

  • Ronny Van Der Borght
  • Ronny Van Der Borght's Avatar Topic Author
  • Offline
  • Senior Member
More
1 week 2 days ago #174769 by Ronny Van Der Borght
Ronny Van Der Borght created the topic: Metadata robots not working
Hi all,
Something that is driving me crazy: I have more than one website that is ignoring the value for Metadata robots when it is set in a k2 item.
It is simply not added to the website's head.

Is this a bug ? I'm not sure what is going on.

k2 version v2.10.2.

Please Log in or Create an account to join the conversation.

  • Fotis
  • Fotis's Avatar
  • Online
  • Administrator
  • JoomlaWorks Support Team
More
1 week 2 days ago #174787 by Fotis
Fotis replied the topic: Metadata robots not working
Works just fine on my end.

Do you have any other SEO (or similar) extension that could modify your site's metatags?

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

Please Log in or Create an account to join the conversation.

  • Ronny Van Der Borght
  • Ronny Van Der Borght's Avatar Topic Author
  • Offline
  • Senior Member
More
1 week 2 days ago #174796 by Ronny Van Der Borght
Ronny Van Der Borght replied the topic: Metadata robots not working
I'm quit allergic to extensions, I only trust k2 and Akeeba Backup (no joke!).
No other SEO plugins running, I'm using a custom template, but even when I switch to Protostar there is no <meta name="robots" content="noindex" /> in the head.

Coudl this be a server issue ?
There are no errors when i turn on Error Reporting. I'm a Joomla dev for more then 15 years, i have about 200 sites running and for the first time I'm going completely nuts!

I'm running Joomla 3.9.15 PHP 7.2.24

Please Log in or Create an account to join the conversation.

  • Fotis
  • Fotis's Avatar
  • Online
  • Administrator
  • JoomlaWorks Support Team
More
1 week 2 days ago #174797 by Fotis
Fotis replied the topic: Metadata robots not working
Check Joomla's Global Configuration for the robots setting: jmp.sh/1XqVlAC

Note down what's set there and save the configuration.

Then visit your site again.

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

Please Log in or Create an account to join the conversation.

  • Ronny Van Der Borght
  • Ronny Van Der Borght's Avatar Topic Author
  • Offline
  • Senior Member
More
1 week 2 days ago #174798 by Ronny Van Der Borght
Ronny Van Der Borght replied the topic: Metadata robots not working
Good idea Fotis. Doesn’t work eather.
So it is definately not a k2 issue. Now I’m even more puzzled: not an extension issue, not a template issue, what else is left? Core is also up to date....mmmmm

Please Log in or Create an account to join the conversation.

  • Fotis
  • Fotis's Avatar
  • Online
  • Administrator
  • JoomlaWorks Support Team
More
1 week 2 days ago #174799 by Fotis
Fotis replied the topic: Metadata robots not working
Did you check all plugins?

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

Please Log in or Create an account to join the conversation.

  • Ronny Van Der Borght
  • Ronny Van Der Borght's Avatar Topic Author
  • Offline
  • Senior Member
More
1 week 2 days ago #174801 by Ronny Van Der Borght
Ronny Van Der Borght replied the topic: Metadata robots not working
Found the little sh*t!
A plugin called 'Bye bye generator' was still running, it messed up the metadata. Not sure how it got there, could be an install from my client.

In case anyone has the same problem: uninstall that plugin and just call $doc->setGenerator($sitename); in your template and your good to go.

Thanks Fotis for pointing me in the right direction!

Please Log in or Create an account to join the conversation.

  • Fotis
  • Fotis's Avatar
  • Online
  • Administrator
  • JoomlaWorks Support Team
More
1 week 1 day ago #174806 by Fotis
Fotis replied the topic: Metadata robots not working
Joomla's Global Configuration can now hide the generator tag. No need to use a plugin or code in the template... :)

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum