Results 1 to 9 of 9

Thread: Webpage/site redirection

  1. #1

    Webpage/site redirection

    I dont know for sure if this is the correct category, or if it can be done with java script. but how do you redirect from one webpages ip to another?
    thing is, i just switched hosts recently [last month] and there are quite a few folk thatre are still seeing my 'old' site.

  2. #2
    602
    posts
    Backend Specialist
    you can set a redirect meta tag or javascript (location='your page'. you can also use php's header function if need be. is this what youre talking about?

    hth

  3. #3
    How recently?

  4. #4
    like February 17

  5. #5
    Quote Originally Posted by skOOb
    you can set a redirect meta tag or javascript (location='your page'. you can also use php's header function if need be. is this what youre talking about?

    hth
    just to add to what skOOb is referring to, this is the code for the redirect meta tag

    Code:
    <META http-equiv="refresh" content="5;URL=http://www.google.com">
    the first value (5) is the amount of seconds until the page redirects. If you want people to read a message before being redirected 5's fine, if you want it to happen almost instantly then obviously 1's your best bet

    the URL value is the URL they're being redirected to
    now with blog, click here

  6. #6
    the URL value is the URL they're being redirected to
    Mmk. well, the meta thing is nice, but can i use an ip [11.111.111.11] in lieu of a text url?

  7. #7
    602
    posts
    Backend Specialist
    like a http://23.23.23.23? i dont see why not. try it out.

  8. #8
    i did.
    Theoretically it should work, but my new host doesnt like this theory. i found a workable work around though..
    Thanks Guys

  9. #9
    <meta ... />

    lowercase and must be closed
    Build a man a fire and he is warm for a day.
    Set a man on fire and he is warm for the rest of his life.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Home About kirupa.com Meet the Moderators Advertise

 Link to Us

 Credits

Copyright 1999 - 2012