Why are my hosting folders getting indexed in search engines? This is spoiling the SEO of my website. Please someone help me to fix this.
Share
Sign Up To Our Social Questions And Answers Engine To Ask Questions, Answer People's Questions And Connect With Other People.
Login To Our Social Questions & Answers Engine To Ask Questions, Answer People's Questions & Connect With Other People.
Lost Your Password? Please Enter Your Email Address. You Will Receive A Link And Will Create A New Password Via Email.
Jaiveer Manjhi
For this, you have to create a robots.txt file in the root directory of your hosting. After this you have to put this code in it.
You have to do the same for all folders. Replace all the folders you want to prevent from being indexed, instead of ‘Folder Name’.
WordPress Users :- If you are a WordPress user then you will be able to improve your SEO more with this code.
Anshika Choudhary
Thanks a lot