How can I redirect to ?

asked Feb 28, 2012 in Shared Hosting by Kyle (120 points)
I have a blog and I want the blog to be hosted at and when someone type in their browser I want the browser to open the /blog directory automatically. How can I do that?
p.s: I suck at programming! :P

2 Answers

0 like 0 dislike
answered Feb 28, 2012 by Willson (140 points)
Well you wont need much progamming to do that. You can do it with php, javascript, apache .htaccess file OR you can simply go to your cpanel -> Redirect - > Permanent rediects and type the two URL's.
0 like 0 dislike
answered Mar 9, 2012 by Yuriy (1,340 points)
I would advise to set it with .htaccess file:
Redirect /

If your hosting plan doesn't allow .htaccess files, then you can add redirect in your index file which is called by default when you call your domain in browser.