Google indexed the demo pages of the WordPress theme from our site. How do I remove them from the Google index?
I have trashed that pages, but on Google search console I still have 186 pages indexed. My site is only a one-page site.
What can I do?
Webmasters Stack Exchange is a question and answer site for pro webmasters. It only takes a minute to sign up.Sign up to join this community
It's frustrating to wait, but for that many pages it's probably the best advice. You could use the Google Remove URLs tool to achieve what you want, but be aware that Google says in the instructions they intend for the tool to be used for temporary URL removal from search results. They would prefer you let Googlebot get a 404 return on permanent page deletions. You can read more about it here: https://support.google.com/webmasters/answer/1663419?hl=en
If the deleted pages are demo pages, the chances that a human who is not a spammer/hacker will see them in Google AND click on them is very, very small. Just because Google Console sees the pages doesn't mean they rank at all in search results. Still, this might be a good opportunity edit your 404 page for human visitors and add a link to your homepage.