Announcement

Collapse
No announcement yet.

Webpage redirect

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

  • Webpage redirect

    Hi

    If someone brings up webpage/site:<font color=green> www.mydomain.com</font color=green>

    - but is then redirected to:<font color=purple> www.microsoft.com</font color=purple> using:
    <meta **********="refresh" content="3;URL=http://www.microsoft.com/">

    ... the URL stays as <font color=green>www.mydmain.com</font color=green>

    Anybody know how I can get the URL to change to <font color=purple> www.microsoft.com</font color=purple> ?

    I've had a look around but cant fiind anything. This is not part of AMS, its a general browser Q?

    Thanx [img]/ubbthreads/images/icons/smile.gif[/img]
    -
    = Derek
    ["All glory comes from daring to begin" - fortune cookie]

  • #2
    Re: Webpage redirect

    Best is server side. If you have PHP use this by deleting all index pages and then saving this as index.php in your directory...

    <?php
    header ("Location: http://www.yourlink.com");
    ?>

    This is a true re-direct because it happens before their browser views the page instead of after, it's what we use here at IR... Make sure there's no whitespace on your page before this PHP code gets executed or you'll get a "header already sent" error.

    If you don't have PHP, ASP has an equivalent tag as does Perl or any other server side language.

    Here's an example, cut and paste this into your browser then watch what happens to the URL as you press GO.

    http://www.indigorose.com/products/a...nu_studio1.php

    Corey Milner
    Creative Director, Indigo Rose Software

    Comment


    • #3
      Re: Webpage redirect

      Thanx Corey [img]/ubbthreads/images/icons/smile.gif[/img]
      -
      = Derek
      ["All glory comes from daring to begin" - fortune cookie]

      Comment

      Working...
      X