URL Re-direct

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bjjb
    Have laptop will travel
    • Mar 2004
    • 13074

    #1

    URL Re-direct

    Hows it done? Script? I have a domain that I want to automatically redirect to another site. TIA
  • johndoebob
    Confirmed User
    • Mar 2004
    • 3405

    #2
    http equiv

    Comment

    • alexg
      IL4L.com
      • Aug 2003
      • 11287

      #3
      Originally posted by bjjb
      Hows it done? Script? I have a domain that I want to automatically redirect to another site. TIA
      I think most registrars should have this option

      Find fuck buddies in your area!

      Comment

      • bjjb
        Have laptop will travel
        • Mar 2004
        • 13074

        #4
        Originally posted by alexg
        I think most registrars should have this option
        This one does too but im a cheap mofo and I wont have this domain long if thinks work out, so why spend the 10 bucks

        Comment

        • NickPapageorgio
          Confirmed User
          • Apr 2004
          • 8323

          #5
          <HEAD>
          <META hahahahahahahahahaha="Refresh" CONTENT="10;URL=http://www.foo.com">
          </HEAD>

          If memory serves...

          Edit: The hahahaha part is H.T.T.P-EQUIV=".Refresh"
          Without the periods ;)
          Last edited by NickPapageorgio; 09-09-2004, 06:41 AM.

          Comment

          • garett
            Confirmed User
            • Mar 2004
            • 683

            #6
            You can either make the domain a CNAME to the domain you want to redirect it to.

            Or you can use index.htm and use a meta tag with hahahahahahahahahaha (already been pointed out).

            Or you can use php (index.php) and do header("Location: URL"); to do a 302 redirect.

            Comment

            • FrankWhite
              Confirmed User
              • Nov 2002
              • 3540

              #7
              you can use php here you go:



              <?php
              header("Location: http://url");
              ?>

              Comment

              • Doc911
                Confirmed User
                • Feb 2004
                • 3695

                #8
                Originally posted by Doomed
                you can use php here you go:



                <?php
                header("Location: http://url");
                ?>

                thats the best option

                PHP rocks


                For PHP/MySQL scripts ICQ 161480555 or email [email protected]

                Comment

                • bjjb
                  Have laptop will travel
                  • Mar 2004
                  • 13074

                  #9
                  Thanks to all of ya!

                  Comment

                  • Brad Gosse
                    Confirmed User
                    • Jan 2002
                    • 2616

                    #10
                    htaccess is the best way.

                    Redirect error traffic this way

                    ErrorDocument 401 http://www.eroticaseek.com/
                    ErrorDocument 403 http://www.eroticaseek.com/
                    ErrorDocument 404 http://www.eroticaseek.com/
                    ErrorDocument 408 http://www.eroticaseek.com/

                    Redirect specific page calls this way

                    Redirect /oldfolder/oldpage.htm http://www.eroticaseek.com/
                    Redirect /oldfolder2/oldpage2.htm http://www.eroticaseek.com/
                    Free Clipart

                    Comment

                    • bjjb
                      Have laptop will travel
                      • Mar 2004
                      • 13074

                      #11
                      Hows this?

                      FU Synapse

                      LOL

                      Comment

                      • ivil_klown
                        Confirmed User
                        • Sep 2004
                        • 192

                        #12
                        The techies are speaking! the techies are speaking! help!

                        35+ Sites, $40 per Signup, FHG's!!

                        Comment

                        • macho
                          Confirmed User
                          • Nov 2001
                          • 2875

                          #13
                          Yea, Php is better!
                          GayPay X2 -- #1in the niche! $35 per sign! Up to 70% revenue share! http://www.gaypay.com

                          Comment

                          • jwerd
                            Confirmed User
                            • Jun 2003
                            • 1953

                            #14
                            Originally posted by macho
                            Yea, Php is better!
                            @header("Location: foo.com");
                            Yii Framework Guru - Seasoned PHP vet - Partner @ XXXCoupon.com

                            Comment

                            Working...