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

HTML

i am confusing about my index.html file . can some one check my website - vijayportfolio.com

i do have an index.html file .

2 Answers

It looks like you have a portfolio folder in your root directory. Either move everything out of the "Portfolio" folder into the root directory or if you would like to keep the portfolio directory as your homepage you can change your RewriteRules.

Hey,

I looked at your website and if you click portfolio/ it takes you to your index.html page. You need to either move index.html and your other files out of the portfolio/ file or create a file that redirects to portfolio/index.html You can do this with PHP. As such:

<?php
header("Location: http://vijayportfolio.com/portfolio/");

die();

Save this is as index.php and put it outside of the portfolio/ file. The website SHOULD go to the file then redirect to the index.html

Hope I helped!