How do I make my domain automatically go to vBulletin?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Tygerwoody
    New Member
    • Jul 2007
    • 28

    How do I make my domain automatically go to vBulletin?

    I finally got my database transfered from PHPBB forums to vBulletin forums.


    I am getting rid of my homepage at http://www.GuildClan.com completely. I basically just want GuildClan.com to go directly to my forums at http://www.guildclan.com/vBulletin . Right now my GuildClan.com site is empty. I deleted it all. How do I make GuildClan.com go directly to my forums without having to move the whole installation to the root of the domain? I would like to keep my forum files in the /vBulletin folder. Is it as simple as just moving a file to the domain root?

    Thanks
  • Pc1203
    Member
    • Mar 2007
    • 49
    • 3.6.x

    #2
    Create an .htaccess file and put this code in it:

    Code:
    Redirect 301 / http://www.guildclan.com/vBulletin
    - Pc1203

    Comment

    • Tygerwoody
      New Member
      • Jul 2007
      • 28

      #3
      Originally posted by Pc1203
      Create an .htaccess file and put this code in it:

      Code:
      Redirect 301 / http://www.guildclan.com/vBulletin
      - Pc1203
      not sure what a .htaccess file is...

      Comment

      • Pc1203
        Member
        • Mar 2007
        • 49
        • 3.6.x

        #4
        Here. Put the attached file in your root directory. (Unzip First, )

        - Pc1203
        Attached Files

        Comment

        • cujo
          Senior Member
          • Sep 2005
          • 108
          • 3.6.x

          #5
          You could also create a new index.html file in the root dir with a meta refresh.

          The 301 in the .htaccess is prob better though for search engines.
          _________________
          ΜΟΛΩΝ ΛΑΒΕ

          Comment

          • Tygerwoody
            New Member
            • Jul 2007
            • 28

            #6
            for some reason that .htaccess file isnt doing anything

            http://www.guildclan.com its right there at the root

            Comment

            • cujo
              Senior Member
              • Sep 2005
              • 108
              • 3.6.x

              #7
              Looks ok to me.

              Maybe your host is not setup to use .htaccess files? They should be otherwise password protecting important folders like the ACP won't work.

              Perhaps try a tmp index.html refresh temporarily if SEO is not an issue.

              <HTML>
              <BODY>
              <META HTTP-EQUIV=Refresh CONTENT="0; URL=http://www.guildclan.com/vBulletin/">
              </BODY>
              </HTML>
              _________________
              ΜΟΛΩΝ ΛΑΒΕ

              Comment

              • Tygerwoody
                New Member
                • Jul 2007
                • 28

                #8
                Originally posted by cujo
                Looks ok to me.

                Maybe your host is not setup to use .htaccess files? They should be otherwise password protecting important folders like the ACP won't work.

                Perhaps try a tmp index.html refresh temporarily if SEO is not an issue.

                <HTML>
                <BODY>
                <META HTTP-EQUIV=Refresh CONTENT="0; URL=http://www.guildclan.com/vBulletin/">
                </BODY>
                </HTML>
                That worked. Thanks man

                Comment

                • Naxon
                  Member
                  • Jul 2006
                  • 70
                  • 3.8.x

                  #9
                  you can use also PHP..
                  PHP Code:
                  <?php
                  header
                  ("location: http://www.guildclan.com/vBulletin/");
                  ?>

                  Comment

                  • Tygerwoody
                    New Member
                    • Jul 2007
                    • 28

                    #10
                    Originally posted by Naxon
                    you can use also PHP..
                    PHP Code:
                    <?php
                    header
                    ("location: http://www.guildclan.com/vBulletin/");
                    ?>
                    Which one is better? i would still like the Google spiders to be able to reach my site easily.

                    Comment

                    • cujo
                      Senior Member
                      • Sep 2005
                      • 108
                      • 3.6.x

                      #11
                      A 301 redirect in an .htaccess is what you want then. Check with your host why it is not working.
                      _________________
                      ΜΟΛΩΝ ΛΑΒΕ

                      Comment

                      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                      Working...