Hi Guys,
I'm trying to remove the string "<meta name="robots" content="index, follow" />" from my index file. Where about's is the php file to edit "
"<meta charset="<?php bloginfo( 'charset' ); ?>" />"
Hi Guys,
I'm trying to remove the string "<meta name="robots" content="index, follow" />" from my index file. Where about's is the php file to edit "
"<meta charset="<?php bloginfo( 'charset' ); ?>" />"
Hi Animationink,
You need to modify the avia_set_follow function in framework>php>function-set-avia-frontend.php . Search for the function name and then look for:
if ((is_single() || is_page() || is_home() ) && ( !is_paged() ))
change it to:
if ((is_single() || is_page() ) && ( !is_paged() ))
That should do it :)
Regards,
Devin
Hi Devin
I have followed your instruction but, I'm still getting the meta information in the meta tag. See below.
<!DOCTYPE html>
<html dir="ltr" lang="en-US">
<head>
<meta charset="UTF-8" />
<meta name="robots" content="noindex, follow" />
Hi!
Open up header.php delete following line:
if (function_exists('avia_set_follow')) { echo avia_set_follow(); }
This will remove the meta robots line.
Regards,
Peter
Awesome,
That worked perfectly.. Thank you Peter.
Glad that worked for you :)
Regards,
Devin
This topic has been closed to new replies.