How to hide a site from search engines?

Asked

Viewed 118 times

0

I have a site that was indexed with 115 pages, and 3/4 are with the old links.

The new project is in development, so the idea is to remove the current site from the search engines, and after the end of the same, add it again.

I have read the article here on the site How to remove a site from google, but the tool used within the platform for Webmasters has already been updated.

What I’ve done so far is delete all content from the site, leaving only one file robots txt. as follows:

User-agent: * 
Disallow: /

I also just created a file called index php., with a basic HTML structure:

<!DOCTYPE html>
<html lang="pt-br">
<head>
    <meta name="robots" content="noindex">
</head>

<body>
</body>

</html>
  • I think you can just put a permanent redirect to all the old links pointing to the new ones (if they exist).

  • It turns out that the new site is still being developed. What I want is just to remove all pages from the google index and other search engines, but in principle from Google.

1 answer

0

Dude, at first you did it right. Even though you started with user-agent for all searchers, right below you disabled it. I see that if the problem persists in appearing in the searchers, would put the exact path, for example: disallow: meusite/ or www/ or public_html/

I will attach a link, which helps me a lot with SEO sites.

https://www.seomarketing.com.br/robots.txt.php

Browser other questions tagged

You are not signed in. Login or sign up in order to post.