Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

General Discussion

what extension should be using as your home (index) page? is it better to use index.html or index.php?

I'm making a website for the company where index.html were using on existing site. The new site that i've developed is .php site. would this affects the seo etc?

2 Answers

I don't think the file extension will have any effect on seo. Google, and other search engines will only see the rendered markup that's generated by the php page(s).

Yep, use .php if it's a php file. If it isn't php, don't use .php.