.htaccess

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Juicy D. Links
    So Fucking Banned
    • Apr 2001
    • 122992

    #1

    .htaccess

    yo

    I want to make it so that when users hit

    http://www.lickmynuts.com they will be sent to

    http://www.lickmynuts.com/testciles/itchy.php


    hook it up
  • Cyber Fucker
    Hmm
    • Sep 2005
    • 12642

    #2
    Code:
    redirect lickmynuts.com http://www.lickmynuts.com/testciles/itchy.php
    But I'm not sure...

    Comment

    • OG LennyT
      Wall Street Pimp
      • Jun 2003
      • 14345

      #3
      setup the redirect URL with your domain service
      Tradeking - my online broker | 4.95 a trade | make real $$

      Comment

      • TheDoc
        Too lazy to set a custom title
        • Jul 2001
        • 13827

        #4
        Here ya go Juicy

        http://www.thedocblog.com/tutorials/...-301-htaccess/
        ~TheDoc - ICQ7765825
        It's all disambiguation

        Comment

        • TheDoc
          Too lazy to set a custom title
          • Jul 2001
          • 13827

          #5
          Or create an index.php file and put it in the root dir of the domain.

          Code:
          <?php
          header("Location: http://www.lickmynuts.com/testciles/itchy.php");
          exit;
          ?>
          ~TheDoc - ICQ7765825
          It's all disambiguation

          Comment

          • StickyGreen
            .
            • Oct 2003
            • 13076

            #6
            i use htaccess to block sites...
            Refer Cam Girls and Take Home 10% of Everything They Make For Life

            Comment

            • squishypimp
              PostMaster General
              • Aug 2006
              • 10781

              #7
              juiiiccccy

              Comment

              • Kimo
                ...
                • Jan 2006
                • 11542

                #8
                lol at that domain name
                ...

                Comment

                • _Lush_
                  Confirmed User
                  • Jul 2005
                  • 536

                  #9
                  or you can do this

                  Code:
                  alias index.html http://www.lickmynuts.com/testciles/itchy.php
                  if your index page is named something else then replace index.html with the proper name
                  IcQ 50611033

                  Comment

                  • marko13
                    Confirmed User
                    • Apr 2004
                    • 7512

                    #10
                    you are joking right....
                    We are responsible for your hosting ... Enjoy in your life.
                    Shared hosting from $3.95 Europe Linux VPS plans from $11.37
                    http://www.LVPSHosting.com

                    Comment

                    • _Lush_
                      Confirmed User
                      • Jul 2005
                      • 536

                      #11
                      Originally posted by lushy
                      or you can do this

                      Code:
                      alias index.html http://www.lickmynuts.com/testciles/itchy.php
                      if your index page is named something else then replace index.html with the proper name

                      HAHA I meant

                      Code:
                      Redirect /index.html http://www.lickmynuts.com/testciles/itchy.php
                      copied the wrong line from one of my htaccess files
                      Last edited by _Lush_; 11-17-2006, 03:59 PM.
                      IcQ 50611033

                      Comment

                      • Cyber Fucker
                        Hmm
                        • Sep 2005
                        • 12642

                        #12
                        Originally posted by lushy
                        HAHA I meant

                        Code:
                        Redirect /index.html http://www.lickmynuts.com/testciles/itchy.php
                        copied the wrong line from one of my htaccess files
                        Yup, this should work

                        Comment

                        • Scroto
                          Confirmed User
                          • Nov 2005
                          • 2804

                          #13
                          why would you want to use htaccess for this?

                          Comment

                          • pornpf69
                            Too lazy to set a custom title
                            • Jun 2004
                            • 15782

                            #14
                            Originally posted by TheDoc
                            Or create an index.php file and put it in the root dir of the domain.

                            Code:
                            <?php
                            header("Location: http://www.lickmynuts.com/testciles/itchy.php");
                            exit;
                            ?>
                            that is what I was going to suggest!

                            Comment

                            • StarkReality
                              Confirmed User
                              • May 2004
                              • 4444

                              #15
                              Originally posted by lushy
                              HAHA I meant

                              Code:
                              Redirect /index.html http://www.lickmynuts.com/testciles/itchy.php
                              copied the wrong line from one of my htaccess files
                              That's the one, although without a status it's a 302 temporary, if you plan to move the page permanently, the code would be:

                              Code:
                              Redirect permanent /index.html http://www.lickmynuts.com/testciles/itchy.php
                              The advantage is that google and other search engines will count all ingoing links of the old index.html and PR towards the new URL...btw, the code below is handy if you want to move a whole site to a new domain:

                              Code:
                              Redirect permanent / http://www.newdomain.com/
                              Just in case google starts hating one of your domains...

                              Comment

                              • marketsmart
                                HOMICIDAL TROLL KILLER
                                • Dec 2004
                                • 20419

                                #16
                                maybe just a meta refresh tag?

                                Comment

                                • StarkReality
                                  Confirmed User
                                  • May 2004
                                  • 4444

                                  #17
                                  Originally posted by TheDoc
                                  Or create an index.php file and put it in the root dir of the domain.

                                  Code:
                                  <?php
                                  header("Location: http://www.lickmynuts.com/testciles/itchy.php");
                                  exit;
                                  ?>
                                  Possible, but bad for search engines, they hate php/meta/javascript redirects

                                  Comment

                                  • gfx3
                                    Confirmed User
                                    • Nov 2005
                                    • 1685

                                    #18
                                    I think you can do this just from the admin panel your webhost gave you.

                                    Comment

                                    • mikeet
                                      this & that
                                      • May 2005
                                      • 5364

                                      #19
                                      Open up your .htaccess file and put this on the first line:

                                      DirectoryIndex /testciles/itchy.php

                                      Comment

                                      • fetishblog
                                        Confirmed User
                                        • Sep 2005
                                        • 5995

                                        #20
                                        Google safe redirect:

                                        http://www.searchenginepromotionhelp...irect-safe.php

                                        Fling.com doesn't steal your traffic and sales unlike some other dating companies. I promote them, and so should you!

                                        Comment

                                        • TheDoc
                                          Too lazy to set a custom title
                                          • Jul 2001
                                          • 13827

                                          #21
                                          I posted a 301 redirect link too, but the php redirect is fine to use for a domain that already redirects. And yes, I understand it may just have been an example site, but you never know.
                                          Last edited by TheDoc; 11-17-2006, 08:08 PM.
                                          ~TheDoc - ICQ7765825
                                          It's all disambiguation

                                          Comment

                                          • mlove
                                            the guy
                                            • Apr 2005
                                            • 764

                                            #22
                                            RewriteEngine On
                                            RewriteRule / http://www.lickmynuts.com/testciles/itchy.php [R]

                                            i think that might work but i haven't used mod_rewrite in a while.
                                            If you won't feel as good, I won't feel as cheap.

                                            Comment

                                            • The Sultan Of Smut
                                              Confirmed User
                                              • Dec 2004
                                              • 4325

                                              #23
                                              Originally posted by mlove
                                              RewriteEngine On
                                              RewriteRule / http://www.lickmynuts.com/testciles/itchy.php [R]

                                              i think that might work but i haven't used mod_rewrite in a while.
                                              [R=301]?

                                              crap 8 char

                                              Comment

                                              • Chariott
                                                Confirmed User
                                                • Nov 2006
                                                • 361

                                                #24
                                                Never use meta/php/redirect!

                                                Use mod_rewrite. It is only right way to do it all.
                                                I can help you tune it up. I'm experianced in modrewrite.
                                                Just hit my ICQ: 386-430-454 and we will do it in a minute.

                                                UUGallery v3.37 builder plugin for Wordpress!
                                                Now it builds FLV VIDEO Galleries! It grabs galleries from FHG's, generates thumbnails, resizes originals,
                                                arranges within your template and posts a gallery within 1 click!
                                                Start making money right now!
                                                ICQ# 475-719-552, Email+MSN: msnaddress[-~at~-]uusoftware.com

                                                Comment

                                                Working...