I have a new Wordpress blog located at say http://mysite.com/blog. I am using Dreamhost. However, I don't have anything at http://mysite.com/ How do I do the following? Whenever a user types http://mysite.com/ in his/her browser the user should be automatically taken to my blog. All help appreciated.
Put this in an index.php file <?php header(â€Location: http://www.domain.com/blog/â€); exit(); ?> Code (markup): It will generate a 302 redirect, So it shouldn't cause any problems if you later move things around.