What i meant is, what will be better in terms of SEO? 1)index.html 2)index.htm or 3)index.php Also let me know the reason please..
Any or all of those will give you canonical problems. Your homepage should be www.yoursitenameisthis.com - that's what people will link to. If your cms is generating urls like www.yoursitenameisthis.com/index.html you need to redirect with a server side 301 to www.yoursitenameisthis.com
set your .htaccess file RewriteEngine on RewriteCond %{http_host} ^mydomain.com [NC] RewriteRule ^(.*)$ http://www.mydomain.com/$1 [L,R=301]
In my experience the extension itself dose not play a role in SEO when using standard ( php, html, asp ) or very common words ( like: index.with or index.one ) . index.html just as good as index.php If you know .htaccess commands you can modify extensions as your will. You can have a homepage like: mysite.com/index.ilovepizza Or without any extensions at all: mysite.com/123 The point is: the -same content- should be available from one unique url only. I prefer .html by the way.
the best one is no extension so that the site is redirected to www.website.com instead of www.website.com/index.php(html)
Redirect your default page such like index.html , index.htm, or index.php to www.youdomain.com, they are not the same, but i think that is not a big role in SEO. More import is your site URL structure!
Thanks for the comments. I have been using a CMS but realized I didn't really need it since I code websites. So which is highly recommended, CMS or normal html/php extension pages?