$conf, $runtime; function_exists('chdir') AND chdir(APP_PATH); $r = 'mysql' == $conf['cache']['type'] ? website_set('runtime', $runtime) : cache_set('runtime', $runtime); } function runtime_truncate() { global $conf; 'mysql' == $conf['cache']['type'] ? website_set('runtime', '') : cache_delete('runtime'); } register_shutdown_function('runtime_save'); ?>admin - <meta> in source code but I can't find it in files or plugins|Programmer puzzle solving
最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

admin - <meta> in source code but I can't find it in files or plugins

matteradmin8PV0评论

I've got someone verified in my Google Search Console for our site and it's using a meta tag in the head.

I've checked header.php in the theme and the child and it's not there. I've double checked wp_head (includes/general). and it's not there either.

I found some plugins to add scripts to the head but it isn't there. I checked Google Tag Manager we're not injecting anything there.

Can anyone think of anywhere I haven't looked where this meta tag might be coming from?

I've checked the Google Analytics and Tag Managers plugins the owner has installed and it's neither of them (at least not in the settings)

I've got someone verified in my Google Search Console for our site and it's using a meta tag in the head.

I've checked header.php in the theme and the child and it's not there. I've double checked wp_head (includes/general). and it's not there either.

I found some plugins to add scripts to the head but it isn't there. I checked Google Tag Manager we're not injecting anything there.

Can anyone think of anywhere I haven't looked where this meta tag might be coming from?

I've checked the Google Analytics and Tag Managers plugins the owner has installed and it's neither of them (at least not in the settings)

Share Improve this question asked Jan 22, 2019 at 17:08 EoinEoin 1156 bronze badges 7
  • 2 did you try searching all site files for some string? Same with DB? It has to be somewhere. – RiddleMeThis Commented Jan 22, 2019 at 17:19
  • 1 If meta tag is not added in the theme file, then it must be done via some plugin or active theme. There are many plugins that takes meta tag value as input and render it on the front-end. Similarly most themes also offer such option. You may need to check all the plugins or theme options to verify it. – Kashif Rafique Commented Jan 22, 2019 at 17:30
  • I think @riddlemethis has a good idea with a DB search which is quite quickl. Then I can do files after that if need be. Of its in a file then I probably need to uninstall a sneaky plugin! – Eoin Commented Jan 22, 2019 at 17:42
  • @JustinWaulters yes it is – Eoin Commented Jan 23, 2019 at 1:57
  • @Eoin Sorry, I didn't understand completely. I thought it was unexpected meta like description or something. Yoast adds a lot of stuff, does it still happen without Yoast actice? – Justin Waulters Commented Jan 23, 2019 at 1:59
 |  Show 2 more comments

1 Answer 1

Reset to default 1

It could be a lot of things, and as RiddleMeThis says, a DB search would shine light on the situation.

However, in my experience, most cases of unexpected meta are generated with Yoast.

For your specific case, here is how to link Google Search Console with Yoast - it might help you remove the unwanted meta: https://yoast/wordpress/plugins/seo/add-website-google-search-console/

Let me know if it doesn't work, and we can dive into searching the DB!

Post a comment

comment list (0)

  1. No comments so far