Hello DPers, I noticed one of my site's admin page is being indexed in Google and I wanted to know what's the best way to fix this now and for the future for security reasons. Most of my sites admin page is usually in the format domain.com/admin A few questions: 1) How do I make this admin page not get indexed by search engines? 2) What is the general security practice that websites use to protect their admin pages? Is it domain.com/admin with a log in and password to access it or something else? Thanks for any help
Hello there, You can use the robots.txt file to tell robots not to crawl certain folders. I always suggest protecting your administration folders with another method than just your admin log in and user name. I would recommend using .htaccess authentication on the admin folder as well. If you have are using cPanel, there is a link in your control panel to password protect a folder, follow that guide to set it up, or, use a search engine to find the info you need to add.