Making your blog your homepage (redirecting it)
Now that I’ve got quite a bit written and got rid of the defaults, I’m pretty okay with displaying my site to the rest of the world. However, because I set my blog up in a folder called “blog”, if you want to see my blog, you need to go to http://www.blogmaking.net/blog/. I’d like everyone who goes to http://www.blogmaking.net to see my blog straight away. To do this, I’m going to have to do a redirection.
If you set up your blog in your main folder then ignore this step because when people go to your domain http://www.yourdomain.com they should just go straight to your blog already.
Micfo’s cpanel is really easy. You just need to click on the “redirects” icon. You are given two boxes, the first is the domain you want to map (so in my case I would leave it as htpp://www.blogmaking.net/ and then nothing as I want the homepage to redirect) and then you give the address you want to redirect it to… so I put in www.blogmaking.net/blog/ because that’s what I want to show up in the browser.
I’m still trying to work out the dreamhost redirect. I’ve put in a help ticket so hopefully they’ll get back to me soon.
Edit: They did get back to me and did the redirect for me which was really nice. It was a simple little trick that I imagine would work with other folders (eg if you have set up another content management system like drupal in a folder called “drupal”). They created a php page: index.php and stored it in the root folder (ie the main folder not the blog folder if you have them separate). To do this open a text file in something like notepad or another plain text editor and type the following code:
<? Header (”Location: http://blogmaking.net/blog”); ?>
where “http:blogmaking.net” is your domain name and “blog” is the name of your wordpress folder. Save this file as “index.php” and upload it (via FTP or your host’s web file manager) to your root/main folder for your domain.
Post a Comment