-
AuthorPosts
-
May 29, 2015 at 11:01 am #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.
May 29, 2015 at 3:36 pm #451648Hey 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,
YigitMay 29, 2015 at 3:42 pm #451656OK – should I also check the “discourage search engines” box?
May 29, 2015 at 3:54 pm #451661May 29, 2015 at 4:01 pm #451666OK 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?
May 29, 2015 at 4:03 pm #451667Hey!
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,
YigitMay 29, 2015 at 4:17 pm #451676excellent 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.
May 31, 2015 at 6:20 am #452166Hi!
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,
IsmaelJune 4, 2015 at 10:09 am #454332thanks for your help
-
AuthorPosts
- The topic ‘help with noindex and seo settings’ is closed to new replies.