Google indexes Login Page
Permalink
Hi guys,
I've got a one page website built with Concrete 5 (more to be added later) and it seems that Google has indexed the Login Page (www.magazin-birmingham.com/index.php/login/) instead of home page which ishttp://www.magazin-birmingham.com obviously.
I've set up a 301 redirection but I don't think this is the right solution as I need to be able to log into the back-end to edit the site.
Any ideas what is the best solution to solve this problem?
I've got a one page website built with Concrete 5 (more to be added later) and it seems that Google has indexed the Login Page (www.magazin-birmingham.com/index.php/login/) instead of home page which ishttp://www.magazin-birmingham.com obviously.
I've set up a 301 redirection but I don't think this is the right solution as I need to be able to log into the back-end to edit the site.
Any ideas what is the best solution to solve this problem?
Yeah, this was my initial idea but doing so won't prevent Google indexing my home page as well?
do I need to put the whole path into robots.txt or just /index.php/login/ ?
do I need to put the whole path into robots.txt or just /index.php/login/ ?
Disallow: /index.php/login/
probably want to put this in there too..
Disallow: /login
The robots.txt is the best method, you could also use rel="noindex" on your login (& register if you have one) link(s).
Thanks guys!
Can anyone guide me to find login page (is there a login.php ? ). I was trying to do it myself but I cannot see it
Can anyone guide me to find login page (is there a login.php ? ). I was trying to do it myself but I cannot see it
If you go the robots.txt route you don't need to find the login page, if you want to use the rel="noindex" method then the links to the login, and register pages will be found in your site theme's files.
Then you might want to get a google webmaster tools account and add your site and sitemap.xml file there.
-guy