0
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 login.
To avoid indexing of search engines, I configured the Routes file
$route['mod/(:any)'] = "$1";
$route['mod_upload'] = '';
$route['mod_config'] = '';
$route['mod_logo_upload'] = '';
The controller access was like this
http://meudominio.com/mod/mod_upload
http://meudominio.com/mod/mod_config
http://meudominio.com/mod/mod_logo_upload
To avoid page indexing, and end up appearing in google, just "block the /mod" directory in the file roobts.txt ? or only login will be enough ?