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?

 
guythomas replied on at Permalink Reply
guythomas
You can use the robots.txt file to tell the search engines not to index the login page.

Then you might want to get a google webmaster tools account and add your site and sitemap.xml file there.

-guy
magazinbirmingham replied on at Permalink Reply
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/ ?
guythomas replied on at Permalink Reply
guythomas
Disallow: /index.php/login/


probably want to put this in there too..
Disallow: /login
olliephillips replied on at Permalink Reply
olliephillips
The robots.txt is the best method, you could also use rel="noindex" on your login (& register if you have one) link(s).
magazinbirmingham replied on at Permalink Reply
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
olliephillips replied on at Permalink Reply
olliephillips
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.