Announcement

Collapse
No announcement yet.

How do I make my domain automatically go to vBulletin?

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

  • 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

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

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

    Comment


    • #3
      Originally posted by Pc1203 View Post
      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


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

        - Pc1203
        Attached Files

        Comment


        • #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


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

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

            Comment


            • #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


              • #8
                Originally posted by cujo View Post
                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


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

                  Comment


                  • #10
                    Originally posted by Naxon View Post
                    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


                    • #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...
                      X