How to redirect from WP to another url

Discussion in 'WordPress' started by brynh, Feb 26, 2010.

  1. #1
    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.
     
    brynh, Feb 26, 2010 IP
  2. Athlon

    Athlon Peon

    Messages:
    36
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    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.
     
    Athlon, Feb 26, 2010 IP
  3. MTbiker

    MTbiker Well-Known Member

    Messages:
    2,536
    Likes Received:
    123
    Best Answers:
    0
    Trophy Points:
    170
    #3
    MTbiker, Feb 26, 2010 IP
  4. Athlon

    Athlon Peon

    Messages:
    36
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    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.
     
    Athlon, Feb 26, 2010 IP
  5. TimothyJohn

    TimothyJohn Member

    Messages:
    786
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    35
    #5
    301 Permanent Redirect in your htaccess file. Don't understand? Google it :)
     
    TimothyJohn, Feb 26, 2010 IP
  6. MTbiker

    MTbiker Well-Known Member

    Messages:
    2,536
    Likes Received:
    123
    Best Answers:
    0
    Trophy Points:
    170
    #6
    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/
     
    MTbiker, Feb 26, 2010 IP
  7. martinglover

    martinglover Active Member

    Messages:
    240
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    80
    #7
    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:

     
    martinglover, Feb 28, 2010 IP
  8. brynh

    brynh Active Member

    Messages:
    342
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    58
    #8
    Thank you ppl for your help... Now I know something more about those redirections.. :)
     
    brynh, Mar 3, 2010 IP
  9. brynh

    brynh Active Member

    Messages:
    342
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    58
    #9
    Thanks, that sounds very useful but I am afraid it's not free..
     
    brynh, Jun 7, 2010 IP