Website Deletion
-
I have tried to delete my site multiple times, but it is still up. It comes up in google searches, and images from my site can be found on google images. Is there some way to permanently delete my site so that it doesn’t show up on google searches?
-
Hi there,
Please do the needful below steps to delete your content and your Site from search engines.
Block Search Engines Using Robots.txt
Now that you have deleted your website, it is time to block search engines from crawling your website.
We will use robots.txt file to tell search engines that we don’t want our pages to be crawled.
Remember, that robots.txt file is just a directive. It is respected by most search engines, but some lesser known crawlers may completely ignore it. Don’t worry we will show you how to deal with those as well.
First you will need to create a new robots.txt file using file manager in cPanel or FTP.
After creating the file you need to edit it and add the following lines:
User-agent: *
Disallow: /
These two lines disallow all user-agents (crawlers like Googlebot) from accessing all URLs under your domain name.Removing Content From Search Engines
Even though your content does not exist any more, search engines may keep showing it for sometime.
Search engines understand that websites can go down due to technical faults. This is why they keep showing the content for a while hoping that your website will come back.
You will need to explicitly tell search engines that your content is no longer available, and it is removed permanently.
The easiest way to do this is by using the .htaccess file. You will need to create a new file in your website’s root directory and name it .htaccess.
Next, you need to edit the .htaccess file and add this code inside it:
RewriteEngine On
RewriteCond %{REQUEST_URI} !^/robots.txt
RewriteCond %{HTTP_HOST} ^www.example.com$ [NC]
RewriteRule ^(.*)$ – [L,G]
Don’t forget to replace example.com with your own domain name.
This code will redirect all requests to your website and show 410 Error. However, it will allow crawlers to access your robots.txt file.Thanks,
Rahul
- The topic ‘Website Deletion’ is closed to new replies.