How do I do the following:
when the user types in http://www.mywebsite.com, it goes to http://www.mywebsite.com/homepage.html
In other words, how do I set up the homepage for a website?
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can do this in many ways.
1) One way is to use an HTML redirect. In other words, make your index.html look like this:
2) You could also use a server-side script to redirect. For instance, if your server supports PHP, just make a file named “index.php” with this content and delete index.html/index.htm:
Search engine robots should work fine with this method.
3) If you are using an Apache webserver, you could also use Apache rewrite rules to redirect index.* to homepage.html in say an .htaccess file. This method works only if your Apache web server allows rewrite rules.
4) If you are fine with having the
index.htmlpage be your true home page, then just rename homepage.html to index.html.