Moving CMS and forum to root

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Rose123
    Senior Member
    • Dec 2008
    • 238
    • 3.7.x

    [CMS] Moving CMS and forum to root

    I am planning to move CMS and forums to root directory. Is there anything I need to keep in mind before moving forums to root directory.
  • Trevor Hannant
    vBulletin Support
    • Aug 2002
    • 24358
    • 5.7.X

    #2
    Firstly log into your AdminCP and change the Forum URL setting in Options > Settings > Site Name / URL / Contact Details to your root directory and move the files there.

    To preserve links, you'll need to create some rewrite rules. If you have a search about here, you'll find plenty examples.
    Vote for:

    - Admin Settable Paid Subscription Reminder Timeframe (vB6)
    - Add Admin ability to auto-subscribe users to specific channel(s) (vB6)

    Comment

    • Bergler
      Senior Member
      • Dec 2006
      • 560

      #3
      Originally posted by Trevor Hannant
      Firstly log into your AdminCP and change the Forum URL setting in Options > Settings > Site Name / URL / Contact Details to your root directory and move the files there.

      To preserve links, you'll need to create some rewrite rules. If you have a search about here, you'll find plenty examples.
      Is there a tutorial on this, as I would like to as well if it clears up some of the issues!

      Comment

      • Rose123
        Senior Member
        • Dec 2008
        • 238
        • 3.7.x

        #4
        Do I ahev to run install script again

        Comment

        • steven s
          Senior Member
          • Jul 2004
          • 3722
          • 3.8.x

          #5
          Originally posted by Rose123
          Do I ahev to run install script again
          No.
          ...steven
          www.318ti.org (vB3.8) | www.nccbmwcca.org (vB4.2)
          bmwcca.org/forum | m135i.net
          "I tried to clean this up but this thread is beyond redemption." - Steve Machol

          Comment

          • Rose123
            Senior Member
            • Dec 2008
            • 238
            • 3.7.x

            #6
            Do I create upload and donot upload foldrs in root ?
            then wouldnt forum address be www.mysite.com/upload/forum.php

            Comment

            • steven s
              Senior Member
              • Jul 2004
              • 3722
              • 3.8.x

              #7
              You are uploading the contents of the upload folder.
              ...steven
              www.318ti.org (vB3.8) | www.nccbmwcca.org (vB4.2)
              bmwcca.org/forum | m135i.net
              "I tried to clean this up but this thread is beyond redemption." - Steve Machol

              Comment

              • Rose123
                Senior Member
                • Dec 2008
                • 238
                • 3.7.x

                #8
                I uploaded, upload folder content to root directory. Changed forum link in admin cp to root and also tried pointing to content .php and forum.php file
                Still cannot see forums on home page.

                Comment

                • Rose123
                  Senior Member
                  • Dec 2008
                  • 238
                  • 3.7.x

                  #9
                  It is working. I uploaded into public_html directory. It works
                  My CMS page is



                  I will be changimng it to index.php so it points to root directly.
                  How do I chaneg links on the forum page, link to CMS
                  Why URL shows witj two // back slash?
                  even forum page is

                  I want to fix this issue by weekend. Please help.

                  Comment

                  • waynem
                    Senior Member
                    • Dec 2009
                    • 165

                    #10
                    In the control panel settings, Site Name / URL / Contact Details , Forum URL

                    Did you put in a trailing slash by accident?

                    Comment

                    • Rose123
                      Senior Member
                      • Dec 2008
                      • 238
                      • 3.7.x

                      #11
                      Thanks waynem. It is fixed.
                      My unanswered question
                      1. My CMS page is

                      http://www.mysite.com//content.php

                      I will be changing it to index.php so it points to root directly. How do I change links on the forum page, link to CMS.

                      2. I have forum running in root directory and I also kept forum running in folder forum. Previously it was uploaded to folder.
                      Are there any disadvantages of doing this?
                      Last edited by Rose123; Sun 17 Jan '10, 4:51pm.

                      Comment

                      • Rose123
                        Senior Member
                        • Dec 2008
                        • 238
                        • 3.7.x

                        #12
                        I invested in VB 4.0 thinking I will make more money and my members have been positng very rarely. I want to fix all the issues ASAP so I can get my trafffic back.
                        My unanswered question
                        1. My CMS page is

                        http://www.mysite.com//content.php

                        I will be changing it to index.php so it points to root directly. How do I change links on the forum page, link to CMS.

                        2. I have forum running in root directory and I also kept forum running in folder forum. Previously it was uploaded to folder.
                        Are there any disadvantages of doing this?

                        Comment

                        • Trevor Hannant
                          vBulletin Support
                          • Aug 2002
                          • 24358
                          • 5.7.X

                          #13
                          Have you changed this in your index.php file:

                          Code:
                          /**
                           * You can choose the default script here.  Uncomment the appropriate line 
                           * to set the default script.  Note: Only uncomment one of these, you must 
                           * add // to comment out the script(s) that you DO NOT want to use as your 
                           * default script.
                           *
                           * You can choose the default script even if you do not plan to move this 
                           * file to the root of your website.
                           */
                          /**
                           * Use the CMS as the default script:
                           */
                          require('content.php');
                          
                          /**
                           * Use the forum as the default script:
                           */
                          // require('forum.php');
                          Make sure the 'content' line is not commented out and the forum line is.


                          2. You should really only be running one or the other, not both.
                          Vote for:

                          - Admin Settable Paid Subscription Reminder Timeframe (vB6)
                          - Add Admin ability to auto-subscribe users to specific channel(s) (vB6)

                          Comment

                          • Lloyd Rush
                            New Member
                            • Mar 2009
                            • 16
                            • 3.8.x

                            #14
                            Without being stupid here, if I leave the whole lot where it is in /forum/ for example - should I just be able to create an require statement that has the content.php path inclusive ie

                            PHP Code:
                            require('/forum/content.php'); 

                            Comment

                            • Rose123
                              Senior Member
                              • Dec 2008
                              • 238
                              • 3.7.x

                              #15
                              thank you.

                              Comment

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