Tagged: ,

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #451569

    HI
    I have read through a few threads about how to remove a site from google search but am a bit confused – I have a coming soon page (made as a page and set to the home page) but google is indexing other pages of the unfinished site. I am using seo yoast, and know I can set every page to index or noindex but my site is large and it’s too time consuming do do fro every page. If I check the “discourage search engines” box, will that do the trick? Is there a way to set noindex globally on the site but still have the coming soon page indexed? Google webmaster support gave me this advice:

    First of all search engines wouldn’t keep a coming soon page in their index for long. It adds no purpose for their users.
    But if on Apache and you have a .htaccess file then you can simply add
    X-Robots-Tag: noindex
    This will tell search engines not to index any part of the site.

    but my server is not on apache. What is the best way to deal with this?
    thanks for your help!
    Nancy

    • This topic was modified 9 years, 7 months ago by Munford.
    #451648

    Hey Nancy

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

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

    Regards,
    Yigit

    #451656

    OK – should I also check the “discourage search engines” box?

    #451661

    Hey!

    Yes, please.

    Best regards,
    Yigit

    #451666

    OK thanks. I know it takes some time for this to show up on google search, right? Is it possible to just index the coming soon page?

    #451667

    Hey!

    Please change the code you added to functions.php file to following one

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

    Change page ID ( 9 ) to match your coming soon page’s ID.

    Best regards,
    Yigit

    #451676

    excellent thanks!

    do you understand this from webmaster support: “First of all search engines wouldn’t keep a coming soon page in their index for long. It adds no purpose for their users.”– how does the search engine know if its a coming soon page or not?

    On a totally unrelated note, every time I post to a thread here, and hit SUBMIT my page goes blank, I have to reload it and then I get a “confirm resubmission” popup and here in support I get an ERROR -“you’ve already done that” as if I am resubmitting the data again. It happens every time for the last couple months. I don’t know if it’s a glitch on my end or if it’s something in your support site. Have you heard of this problem before? I am using Chrome. It’s not critical, just annoying.

    Nancy

    • This reply was modified 9 years, 7 months ago by Munford.
    #452166

    Hi!

    how does the search engine know if its a coming soon page or not?

    It doesn’t, but since there is nothing to do in the coming soon page, no content, crawlers will ignore it. The suggestion above is enough to disallow crawlers from the rest of the site: https://support.google.com/webmasters/answer/93710?hl=en

    Regarding the forum, that is a random issue, unfortunately, we haven’t figured out why it’s happening. Just refresh the page if you encounter it again.

    Regards,
    Ismael

    #454332

    thanks for your help

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘help with noindex and seo settings’ is closed to new replies.