Hi, I created my site like 3 month ago however i noticed today that google has indexed it as site.com/index.html instead of just site.com and i wonder is this is good or bad? What can i do if i want my site to be indexed as site.com? Thanks
Google is not totally indexed your site. It is indexing. When it is completely indexed, You can see that your site will be show as example.com only.
This is because you have not done canonical optimization with your website. once you will be done, your index.html page will be redirected to your main domain and SE will also index only your domain name.
google treading your one as two different pages.... according to google you site/index.html page is different and site.com is different so try to use canonical tag
thanks for all your answer, i had never hear about that tag but will google it and see how i can use it. Once again thanks for quick answer.
I think you have to use redirection with the help of htaccess file. This will automatically redirect your site as per your URL request. I'd done this way and google is showing only site.com.
That would be a problem as they are two different URLs having the same content, in other words, duplicate. Implement a 301 redirection from site.com/index.html to site.com/, this however is only possible if you are using PHP or ASP as you would use scripting and would not be applicable for HTML/static websites. If you're website is a static/HTML one, just edit ALL links on your domain that would point to site.com and add a rel="canonical" tag to let Google know that this is the canon URL for your website.
you shoul do make redirect to pages you want to be canonical (main in index). Other way - they are two different pages, with the same content.