Keyword

Metadata robots not working

  • Ronny Van Der Borght
  • Ronny Van Der Borght's Avatar Topic Author
  • Offline
  • Senior Member
More
4 years 2 months ago #174769 by Ronny Van Der Borght
Metadata robots not working was created by Ronny Van Der Borght
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.

More
4 years 2 months ago #174787 by JoomlaWorks
Replied by JoomlaWorks on 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?

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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
4 years 2 months ago #174796 by Ronny Van Der Borght
Replied by Ronny Van Der Borght on 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.

More
4 years 2 months ago #174797 by JoomlaWorks
Replied by JoomlaWorks on 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.

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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
4 years 2 months ago #174798 by Ronny Van Der Borght
Replied by Ronny Van Der Borght on 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.

More
4 years 2 months ago #174799 by JoomlaWorks
Replied by JoomlaWorks on topic Metadata robots not working
Did you check all plugins?

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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
4 years 2 months ago #174801 by Ronny Van Der Borght
Replied by Ronny Van Der Borght on 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.

More
4 years 2 months ago #174806 by JoomlaWorks
Replied by JoomlaWorks on 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... :)

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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


Powered by Kunena Forum