How Do I Redirect People Who Type My Domain Name To A Directory On My Domain?
RSS

How Do I Redirect People Who Type My Domain Name To A Directory On My Domain?

Category: FAQ   Time: 2009-10-17   Tags: , , , , ,

I have a website: www.domain.com and would like to redirect people who type that or just domain.com to: www.domain.com/blog
I have tried using a .htaccess file in my /www/ directory on the server but can’t get it to work. Is there a simple way to make this happen?
Thank you!
~Nixie

Next: I Have A Domain Name & I Want To Use It For A Free Gaming Website, Can Anybody Help Me Finding It?
Previous: Can I Buy Web Site Creator Sofware And Design A Website With My Own Domain Without Using A Goddady Type Site?
"How Do I Redirect People Who Type My Domain Name To A Directory On My Domain?" was posted on Saturday, October 17th, 2009 at 8:28 pm.

3 Responses to “How Do I Redirect People Who Type My Domain Name To A Directory On My Domain?”
  1. krishbha(2009-10-17):

    Try this in the .htaccess file
    RewriteCond %{HTTP_HOST} ^.*$
    RewriteRule ^/?$ “http://www.domain.com/blog/” [R=301,L]
    you can also achieve this by placing a few pieces of html code within the default file in the root …


    ?>
    this amounts to making the redirect on the server itself .. unlike in the previous case where the redirect it made by the browser http://theedifier.com/blogging-blogger/b…

  2. cpcii(2009-10-18):

    Try a meta refresh? With a 0 second timeout. Or if you have access to the server and control of it, you can get the system to redirect for you.

  3. Neo(2009-10-18):

    don’t you have cpanel on your web server, usually the web hosting providers offer these functionalities. Mail it to your provider, they will tell you how to go about it

Leave a Reply

 
Recent Posts
Random Posts