Redirect

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Bandul

    Redirect

    Hi
    How do i redirect a web page
    Ive using this meta tag:
    <meta http-equiv="REFRESH" content="4; url=http://www.redirect_he re.com">
    Not working, is there something else.
    Sorry for my rubish english.
    Thanks
    Bandul


  • Roy Schestowitz

    #2
    Re: Redirect

    __/ [ Bandul ] on Sunday 14 May 2006 12:51 \__
    [color=blue]
    > Hi
    > How do i redirect a web page
    > Ive using this meta tag:
    > <meta http-equiv="REFRESH" content="1; url=http://www.redirect_he re.com">[/color]


    I successfully use:

    <meta http-equiv="REFRESH" content="1; url=http://www.redirect_he re.com">

    To be honest, I am not sure what the digit indicates (this goes back years
    into the past), _but_...

    [color=blue]
    > Not working, is there something else.
    > Sorry for my rubish english.
    > Thanks
    > Bandul[/color]


    ....for any major redirection, you will be better off redirecting without that
    'browser flicker' and also with a proper status/error code, which indicates
    a permanent redirection. How you implement this depends on your Web server
    software. Do a Web search on "301 redirects".

    Best wishes,

    Roy

    PS - your English is fine.

    --
    Roy S. Schestowitz
    http://Schestowitz.com | GNU is Not UNIX ¦ PGP-Key: 0x74572E8E
    12:50pm up 16 days 19:47, 11 users, load average: 0.33, 0.65, 0.67
    http://iuron.com - proposing a non-profit search engine

    Comment

    • David Dorward

      #3
      Re: Redirect

      Bandul wrote:
      [color=blue]
      > How do i redirect a web page[/color]

      You configure your webserver to issue a 301 or 302 status code and a
      Location header. The specifics depend on which webserver you use.

      Since this has been fairly heavily cross posted to PHP related groups, I'll
      also mention that you can use the header() function.
      [color=blue]
      > Ive using this meta tag:
      > <meta http-equiv="REFRESH"[/color]

      Avoid redirecting at the HTML level, its built into HTTP and is far more
      appropriate to do it there.


      --
      David Dorward <http://blog.dorward.me .uk/> <http://dorward.me.uk/>
      Home is where the ~/.bashrc is

      Comment

      • Sjeef

        #4
        Re: Redirect

        In de nieuwsgroep:e47 5iu$rql$1@news2 .carnet.hr,
        Bandul <ivan.curac@du. htnet.hr> schreef:[color=blue]
        > Hi
        > How do i redirect a web page
        > Ive using this meta tag:
        > <meta http-equiv="REFRESH" content="4;
        > url=http://www.redirect_he re.com"> Not working, is there something
        > else. Sorry for my rubish english.
        > Thanks
        > Bandul[/color]

        I am using this script:

        <script language="JavaS cript" type="text/javascript">
        <!--
        function redirect() {
        location="http://www.sjeef.eu/Nederlands/recepten.html";
        }
        setTimeout('red irect()',5000);
        -->
        </script>

        --
        Vriendelijke groeten,
        Gerard Schaefers

        Voor meer kook- en eetplezier? Kijk hier!
        Alle restaurants in de Utrechtsestraat, Amsterdam en heel veel recepten.


        Huis kopen in Spanje? Occasion !



        Comment

        • Bandul

          #5
          Re: Redirect

          Thanks Roy thx David.

          "Bandul" <ivan.curac@du. htnet.hr> wrote in message
          news:e475iu$rql $1@news2.carnet .hr...[color=blue]
          > Hi
          > How do i redirect a web page
          > Ive using this meta tag:
          > <meta http-equiv="REFRESH" content="4; url=http://www.redirect_he re.com">
          > Not working, is there something else.
          > Sorry for my rubish english.
          > Thanks
          > Bandul
          >[/color]


          Comment

          • Bandul

            #6
            Re: Redirect

            Digits indicates the number of seconds to be redirected to another page.

            "Roy Schestowitz" <newsgroups@sch estowitz.com> wrote in message
            news:3222871.Yv GUsOPPZA@schest owitz.com...[color=blue]
            > __/ [ Bandul ] on Sunday 14 May 2006 12:51 \__
            >[color=green]
            >> Hi
            >> How do i redirect a web page
            >> Ive using this meta tag:
            >> <meta http-equiv="REFRESH" content="1; url=http://www.redirect_he re.com">[/color]
            >
            >
            > I successfully use:
            >
            > <meta http-equiv="REFRESH" content="1; url=http://www.redirect_he re.com">
            >
            > To be honest, I am not sure what the digit indicates (this goes back years
            > into the past), _but_...
            >
            >[color=green]
            >> Not working, is there something else.
            >> Sorry for my rubish english.
            >> Thanks
            >> Bandul[/color]
            >
            >
            > ...for any major redirection, you will be better off redirecting without
            > that
            > 'browser flicker' and also with a proper status/error code, which
            > indicates
            > a permanent redirection. How you implement this depends on your Web server
            > software. Do a Web search on "301 redirects".
            >
            > Best wishes,
            >
            > Roy
            >
            > PS - your English is fine.
            >
            > --
            > Roy S. Schestowitz
            > http://Schestowitz.com | GNU is Not UNIX ¦ PGP-Key: 0x74572E8E
            > 12:50pm up 16 days 19:47, 11 users, load average: 0.33, 0.65, 0.67
            > http://iuron.com - proposing a non-profit search engine[/color]


            Comment

            • J.O. Aho

              #7
              Re: Redirect

              Bandul wrote:
              [color=blue]
              > How do i redirect a web page
              > Ive using this meta tag:
              > <meta http-equiv="REFRESH" content="4; url=http://www.redirect_he re.com">
              > Not working, is there something else.[/color]

              <?PHP header("Locatio n: http://www.redirect_he re.com"); ?>


              Comment

              • Jerry Stuckle

                #8
                Re: Redirect

                Sjeef wrote:[color=blue]
                > In de nieuwsgroep:e47 5iu$rql$1@news2 .carnet.hr,
                > Bandul <ivan.curac@du. htnet.hr> schreef:
                >[color=green]
                >>Hi
                >>How do i redirect a web page
                >>Ive using this meta tag:
                >><meta http-equiv="REFRESH" content="4;
                >>url=http://www.redirect_he re.com"> Not working, is there something
                >>else. Sorry for my rubish english.
                >>Thanks
                >>Bandul[/color]
                >
                >
                > I am using this script:
                >
                > <script language="JavaS cript" type="text/javascript">
                > <!--
                > function redirect() {
                > location="http://www.sjeef.eu/Nederlands/recepten.html";
                > }
                > setTimeout('red irect()',5000);
                > -->
                > </script>
                >[/color]

                Fine as long as javascript is enabled. Search engines won't find the redirect,
                for instance.

                --
                =============== ===
                Remove the "x" from my email address
                Jerry Stuckle
                JDS Computer Training Corp.
                jstucklex@attgl obal.net
                =============== ===

                Comment

                • Roy Schestowitz

                  #9
                  Re: Redirect

                  __/ [ Bandul ] on Sunday 14 May 2006 13:59 \__
                  [color=blue]
                  > "Roy Schestowitz" <newsgroups@sch estowitz.com> wrote in message
                  > news:3222871.Yv GUsOPPZA@schest owitz.com...[color=green]
                  >> __/ [ Bandul ] on Sunday 14 May 2006 12:51 \__
                  >>[color=darkred]
                  >>> Hi
                  >>> How do i redirect a web page
                  >>> Ive using this meta tag:
                  >>> <meta http-equiv="REFRESH" content="1; url=http://www.redirect_he re.com">[/color]
                  >>
                  >>
                  >> I successfully use:
                  >>
                  >> <meta http-equiv="REFRESH" content="1; url=http://www.redirect_he re.com">
                  >>
                  >> To be honest, I am not sure what the digit indicates (this goes back years
                  >> into the past), _but_...
                  >>
                  >>[color=darkred]
                  >>> Not working, is there something else.
                  >>> Sorry for my rubish english.
                  >>> Thanks
                  >>> Bandul[/color]
                  >>
                  >>
                  >> ...for any major redirection, you will be better off redirecting without
                  >> that
                  >> 'browser flicker' and also with a proper status/error code, which
                  >> indicates
                  >> a permanent redirection. How you implement this depends on your Web server
                  >> software. Do a Web search on "301 redirects".
                  >>
                  >> Best wishes,
                  >>
                  >> Roy
                  >>
                  >> PS - your English is fine.[/color]
                  >
                  > Digits indicates the number of seconds to be redirected to another page.[/color]

                  Oh, thanks. I never realised it (nor cared)... *smile*

                  Best wishes,

                  Roy

                  --
                  Roy S. Schestowitz | Microsof(fshore )t Window(ntime)s Vista(gnating)
                  http://Schestowitz.com | GNU/Linux ¦ PGP-Key: 0x74572E8E
                  6:10am up 17 days 13:07, 11 users, load average: 1.75, 1.41, 1.09
                  http://iuron.com - next generation of search paradigms

                  Comment

                  • David Cary Hart

                    #10
                    Re: Redirect

                    On Sun, 14 May 2006 13:51:07 +0200, "Bandul" <ivan.curac@du. htnet.hr>
                    opined:[color=blue]
                    > Hi
                    > How do i redirect a web page
                    > Ive using this meta tag:
                    > <meta http-equiv="REFRESH" content="4;
                    > url=http://www.redirect_he re.com"> Not working, is there something
                    > else. Sorry for my rubish english.
                    > Thanks
                    > Bandul
                    >
                    >[/color]
                    "Deprecated ." Use one of the mod_alias options Redirect or the Swiss
                    Army Knife of redirect RedirectMatch (which can redirect on RegEx).

                    --
                    Displayed Email Address is a SPAM TRAP
                    Our DNSRBL - Eliminate Spam: http://www.TQMcube.com
                    Multi-RBL Check: http://www.TQMcube.com/rblcheck.php
                    The Dirty Dozen Spammiest Ranges: http://tqmcube.com/dirty12.php

                    Comment

                    Working...