This topic contains a post which is marked as Best Answer. Press here if you would like to see it.
*

mwindey

  • *****
  • 485 posts
Can i hide my generator in metatags on seo check?
« on: December 30, 2021, 03:59:17 PM »
With the seobility seo check I see the generator that my website uses, which is not bad in itself, but it can be useful for any interested people to know which script I use. Is there a way to hide this as well as change the cookie name to the website name and not osclass?

*

MB Themes

Re: Can i hide my generator in metatags on seo check?
« Reply #1 on: December 30, 2021, 05:18:58 PM »
Right now you can achieve that just by updating core.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

mwindey

  • *****
  • 485 posts
Re: Can i hide my generator in metatags on seo check?
« Reply #2 on: December 31, 2021, 12:28:44 AM »
@MB Themes

Not sure what you mean by that.. I am already using latest v8.0.0.

Marked as best answer by mwindey on December 31, 2021, 09:54:11 AM
*

umimo

  • ***
  • 88 posts
Re: Can i hide my generator in metatags on seo check?
« Reply #3 on: December 31, 2021, 06:41:45 AM »
In oc-load.php (root folder).

Find this function:
Code: [Select]
function osc_meta_generator(){
  echo '<meta name="generator" content="Osclass ' . OSCLASS_VERSION . '" />' . PHP_EOL;
}

and comment echo, change it, or add return false; at start of function, or keep it as blank function.
« Last Edit: December 31, 2021, 01:39:13 PM by MB Themes »

*

mwindey

  • *****
  • 485 posts
Re: Can i hide my generator in metatags on seo check?
« Reply #4 on: December 31, 2021, 09:56:07 AM »
@umimo

Thank you that's exactly what i was looking for...
Happy holidays   :P

*

MB Themes

Re: Can i hide my generator in metatags on seo check?
« Reply #5 on: December 31, 2021, 01:39:33 PM »
@umimo
Thank you, I've modified your answer a bit ;)
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots