You may need to ask google to remove it from their index if it’s already been included.
Test with https://support.google.com/webmasters/answer/6062598?hl=en
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hi All, I have a Laravel project live on the web but I want to block search engines from grabbing it. I read online to do this you create a robots.txt file with
User-agent: *
Disallow:
and put this in your folder. I put a copy of this file in my app root folder and a copy in the public folder. However, when I check on the google search console it says URL is on Google. Am I doing this wrong for a Laravel project?
Please or to participate in this conversation.