How to stop Google from indexing my webpage?

by Qing Cao   Last Updated April 15, 2019 14:04 PM

I have a webpage /user/login , I want to keep it private but Google has indexed the page. I have tried lots of ways: In robos.txt, I added a new line:Disallow: /user/, added header header("Robots: noindex,nofollow"); But in Google search console, it says: Indexed, though blocked by robots.txt

Related Questions

Updated June 21, 2018 02:04 AM

Updated July 24, 2015 13:01 PM

Updated September 04, 2017 17:04 PM

Updated December 09, 2018 17:04 PM

Updated May 23, 2019 17:04 PM