Best way to deal with a deleted page appearing on Google search (404)?

[ad_1]

Google picked up a sample theme element that is appearing on Google search.

I deleted it but as it is still appearing on Google search and clicking on the Google search link takes the user to a 404 page.

How long will it take before it stops showing up on Google search?

**On Google YT video, it says-**

For a permanent removal:

. Return either a 404 or 410

. Block access to content via password.

As I have removed it permanently, is it now just a matter of waiting? Can I do anything more? Would redirecting that link to the website’s homepage help?

[ad_2]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer