About meta tags
I need delete string in posts of next type:
<meta name="Robots" ... />
And I wrote regular expression
$content = preg_replace('#<meta name=\'robots\'[^>]+>#i', '', $content);
But this not help me. And I do not know how to change code between <head> … </head>).
Thanks for Help.
- The topic ‘About meta tags’ is closed to new replies.