+ Reply to Thread
Results 1 to 3 of 3

Thread: Redirect without meta tag

  1. #1
    wjh2303 is offline x10 Sophmore wjh2303 is an unknown quantity at this point
    Join Date
    Mar 2009
    Posts
    139

    Redirect without meta tag

    I have a page which i would like to redirect to another after a small amount of time.

    So i went into google and came up with the meta refresh tag in the head section.

    However i use php include to put a header and footer on every page, including the head section in the header file, so id rather not have to use a meta tag in the head, is there another way of redirecting within the body?

    thanks

    w

  2. #2
    mfurqanabid's Avatar
    mfurqanabid is offline x10Hosting Member mfurqanabid is an unknown quantity at this point
    Join Date
    Mar 2008
    Posts
    37

    Re: Redirect without meta tag

    Use javascripts for redirection.

    Code:
    <script language="javascript">
    window.location = "filename.html";
    </script>

  3. #3
    wjh2303 is offline x10 Sophmore wjh2303 is an unknown quantity at this point
    Join Date
    Mar 2009
    Posts
    139

    Re: Redirect without meta tag

    thanks, combined with setTimeout(), that's worked just fine

+ Reply to Thread

Similar Threads

  1. How to create ~ Meta Tags
    By lair360 in forum Tutorials
    Replies: 1
    Last Post: 01-22-2009, 09:32 AM
  2. Domain redirect fails
    By forum123 in forum Free Hosting
    Replies: 1
    Last Post: 08-25-2008, 10:26 PM
  3. sort of redirect help
    By galaxyAbstractor in forum Programming Help
    Replies: 4
    Last Post: 06-14-2008, 06:08 AM
  4. Redirect
    By BlueIce in forum Free Hosting
    Replies: 3
    Last Post: 10-21-2007, 08:06 AM
  5. Cpanel Redirect problem
    By BigEmmaFanz in forum Free Hosting
    Replies: 5
    Last Post: 12-10-2005, 04:51 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers