Anyone knows why google shows my site's sections but not the main page? It's a very simple site, a homepage with 5 links... but when I search its title on google it always shows the "about" page, or any other section except the homepage. It changes from day to day. My head hurts
You need to use meta tags. They tell search engines information about your page and how to list it.
For example, if you want google to list your main homepage and follow all the links from it you would place this code <META NAME="ROBOTS" CONTENT="INDEX, FOLLOW"> right before the </head> tag.
If you wouldn't google them to list a page at all you would put <META NAME="ROBOTS" CONTENT=" NOINDEX, NOFOLLOW">get it?
Here are all the thing you can tell search engines to do...
none
Robots are to ignore this page. Equivalent to: noindex, nofollow.
noindex
Page may not be indexed by a search service.
nofollow
Robots are not to follow links from this page.
all
No restrictions on indexing the page, or following links from the page to determine pages to index. Equivalent to: index, follow.
index
Robots are welcome to include this page in search services.
follow
Robots are welcome to follow links from this page to find other pages.
You can tell robots/search engines even more information about your pages by adding more meta tags. This is a meta tag generator It will make advanced codes for you PROTIP: It may take awhile for the search engine to update with any new information from the meta tags. So be patient.
thanks mishi hime, that was really informative.
The thing is that I didn't want to leave anything from my site un-indexed. Anyway, it was easier than I thought: With just adding something like "index" or "home" or "main page" or just "main" on the title it shows the index page first. It didn't have that before, just the site's name. A sitemap might help too, but I didn't need it this time.