Protect your Plesk login page from the eyes of a search engine
I was wondering if it is possible to protect the " https://www.DOMAIN.com:8443 " URL from the search engine list, perhaps using htaccess to redirect port 8443 from "DOMAIN" to another location?
This is VZPP Plesk - Login for Plesk. Enter your username. Username. Password. Interface language. User default, ENGLISH (United States), GERMAN (Germany) ... https://www.DOMAIN.com:8443/ -
a source to share
You can read about using the User-Agent definition with mod_rewrite here How to set your robots.txt for Google , Yahoo! and MSN / Live Search - however all of this assumes intelligent and co-located bots. There is little that can be done to defend against aggressive black hat bots.
a source to share
You will need to create a file robots.txt
containing the following:
User-agent: *
Disallow: /
and place it in usr/local/psa/admin/htdocs
. Please note that the location may vary depending on your installation.
Then make sure the file referenced in http://my.domain.com:8443/robots.txt
points to that file and has the same content. Also make sure that http://my.domain.com/robots.txt
(the port serving your public site [usually the assumed port 80]) does not point to the same file. If this happens, then your site will not be indexed at all.
This file will tell Google and other bots not to index Plesk pages such as the login page. For more information on robots.txt, check the Google help page for robots.txt or Remove page or site from Google search results . Alternatively, you can add your domain to Google Webmaster Tools and verify that the Plesk pages are indeed removed by checking the uninstall page .
a source to share