Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #17286

    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’ ); ?>” />”

    #94852

    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

    #94853

    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” />

    #94854

    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

    #94855

    Awesome,

    That worked perfectly.. Thank you Peter.

    #94856

    Glad that worked for you :)

    Regards,

    Devin

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Removing Meta string. Google Robots.txt’ is closed to new replies.