Hello people! I have one question reagrding ulr 404 redirection. I have purchased domain (planethopia.info) and as I am working on it sometimes is unreachlable so I want to redirect my visitors to my blog planethopia.blogspot.com. Can someon tell me how to do this? Thanks.
HTTP 404 is page not found code Redirect codes are 301 for permanent redirect or 307 for temporary redirect. Although I think there are some other 3xx codes that can be used for redirect too. Best bet is to check with customer support with hosting company for planethiopia.info and be sure that they undersatnd that it is only a temporary redirect that you want.
You could look for something like "domain forwarding" in your domain control panel, and then put your blog URL in that box and save the setting. Or... setup a 301 redirect in your htaccess file. Like this: http://www.tamingthebeast.net/articles3/spiders-301-redirect.htm
He only wants to redirect the url temporarily while he develops the site. 301 redirect is permanent redirect, I dont know if you can undo this afterwards (do search engines remember even if you change htacces file back. Need 307 redirect but if you can do in in admin panel on hosting site this would be easier. Just remember to check that you dont end up with 301 redirect if you want to us ethe url again later.
Regardless, a little reading up on htaccess files would help with figuring out and implementing any 301, 302, or 307 redirects and 404 pages. http://www.freewebmasterhelp.com/tutorials/htaccess/
You need to create an .htaccess file in the root of your web server (ie the httpdocs directory or the public_html or www - varies from provider to provider.) To create this, upload a plain txt document eg untitled.txt and then rename it to .htaccess - make sure you have the full stop/period at the front of it. Please note .htaccess won't work on a Windows server, you need to make sure you are using Apache Webserver. Once its created, add one of the following lines to it - not forgetting to amend the details to the relevant info! Moving a simple page, use this.: To move an entire site, use this: