Announcement

Collapse
No announcement yet.

Redirecting page

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Redirecting page

    I've been using this code "forever" and possibly something is wrong with it as it is no longer working.

    <?php
    header('Location:http://www.elevatingyourbusiness.com...b-2017/&#39;);
    exit;
    ?>


    What's the correct code to use.



  • #2
    I found this; is this code current? https://www.w3.org/TR/WCAG20-TECHS/H76.html

    Comment


    • #3
      That should be the current code, yes.
      Cat-herder Extraordinaire

      Comment


      • #4
        Which one Pegasus... the one I'm using or the one I found?

        They both work now.

        a) my mistake in not putting.html at the end of the link!

        b) I'll use this one as a back up. I was reading that sometimes the meta refresh tag doesn't work do to firewalls and such.

        <html>
        <head>
        <title>A web page that points a browser to a different page after 2 seconds</title>
        <meta http-equiv="refresh" content="2; URL=http://www.pa.msu.edu/services/computing/">
        <meta name="keywords" content="automatic redirection">
        </head>
        <body>
        If your browser doesn't automatically go there within a few seconds,
        you may want to go to
        <a href="http://www.pa.msu.edu/services/computing/">the destination</a>
        manually.
        </body>
        </html>

        Last edited by coachmaria; 02-24-2017, 06:17 PM.

        Comment


        • #5
          Ah, okay. If both work, then you're okay. The one you found is the most current version, I think, but not all browsers might recognize it.
          Cat-herder Extraordinaire

          Comment

          Working...
          X