Hello @schmecktes,
1. Robots meta tag: index, follow
Please read: https://www.metatags.org/meta_name_robots
2. Bypass für Such-Bots: no
If you set this option to yes, the search engine bots will see the website (not the maintenance page).
—-
I recommend using the maintenance mode page just for maintenance. Some users tend to use it as a coming soon page for months and I don’t know how Google acts if you “tell” him the website is in maintenance for such a long period of time.
Thanks.
Hi George,
thanks for your fast reply. I think I understand the facts. To let the robots scrawl only the maintance page with infos on it and not the rest of the website:
1. index, follow & 2. Bypass für Such-Bots: no
3. Using the maintance site as a coming soon page is not the best practice, but it works probably for one month.
Correct? Thanks
@schmecktes: Yes, I think it’s fine. You’re welcome.
One more question please. I´ve done it like you wrote but the google index doesn´t work. I have wait for 2-3 weeks now.
With this preferences it would work? The maintance page would be included in the search enginge? Are there maybe other preferences, that causes index issues? WordPress …
Thanks
Hello @schmecktes,
I can’t tell you the exact reason why your website is not indexed yet. But I suggest to edit wp-maintenance-mode.php (wp-content/plugins/wp-maintenance-mode/includes/classes) and change these lines (524 – 525):
header("$protocol $status_code Service Unavailable", TRUE, $status_code);
header("Retry-After: $backtime");
with these lines:
//header("$protocol $status_code Service Unavailable", TRUE, $status_code);
//header("Retry-After: $backtime");
After this change, the plugin will not send the 503 status code. For now, this is the only thing I think it can cause the problem.
Thanks.
-
This reply was modified 8 years, 5 months ago by
George J.
-
This reply was modified 8 years, 5 months ago by
George J.
YEAH!!! That´s it!
To comment out this code lines was definive necessary! Before in google search console there was a 503 error.
After changing the code in the wp-maintenance-mode.php and new manual indexing with google it succeed a few minutes later.
Thank you very much!
PS. Maybe you include this knowledge in your plugin for other customers, that do the same with maintance mode as a temporary construction site…
@schmecktes Thanks. I will add a setting for changing the status code. 🙂
-
This reply was modified 8 years, 5 months ago by
George J.