I'm making use of CodeIgniter 2 to set up a website.
The admin area is in the url http://meudominio.com/mod
, to access you need to go through login.
To avoid indexing the search engines, I configured the routes file
$route['mod/(:any)'] = "$1";
$route['mod_upload'] = '';
$route['mod_config'] = '';
$route['mod_logo_upload'] = '';
Access to the controller is thus http://meudominio.com/mod/mod_upload
http://meudominio.com/mod/mod_config
http://meudominio.com/mod/mod_logo_upload
To avoid indexing the pages, and ending up appearing in google, just "lock the directory / mod" in the roobts.txt file? or just the login will be enough?