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

    I noticed a couple of my test pages have been appearing in Google recently.
    But they are not linked from any page or any menu.
    Note I’ve also disabled all feeds.

    Could they be coming from the theme somewhere?

    How is Google finding them?

    #734579

    Hey Alan,

    If you publish pages they will be found by search engines, it doesn’t matter if they are not linked from menus etc.

    Best regards,
    Rikard

    #737837

    Thanks Rikard

    But do you know specifically how the search engines are finding these pages?

    It just doesn’t make sense if they’re not in a menu or feed…

    #737842

    Hey!

    Please add following code to functions.php file in Appearance > Editor

    
    add_filter('avf_set_follow','avia_set_nofollow');
    function avia_set_nofollow(){
    if(is_page(array(59,79))){
    $meta = '<meta name="robots" content="noindex, follow" />' . "\n";
    }
    return $meta;
    }

    This will hide page with ID 59 and 79 from Google. You can replace the page ID’s with your pages to hide them from Google.

    Regards,
    Yigit

    #737896

    Ahhh, haaa! :D

    From your code, does that mean it was Avia that was leaking the info?

    #737900

    Hey!

    No actually. Through a filter our framework has, we are just able to allow or to not allow search engines from indexing your site manually :)

    Cheers!
    Yigit

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.