Announcement

Collapse
No announcement yet.

vB CMPS index.php in root or in forum folder?

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

  • vB CMPS index.php in root or in forum folder?

    I open this thread, because same question is not answered in other topic because of many posts and different questions.

    I have forum in forum folder ==> www.pijanitvor.com/forum
    My main page (Portal) is vBadvanced CMPS ==> www.pijanitvor.com/index.php

    Will be possible to install vBsuite in forum folder BUT have vB CMPS on server root (like vB Advanced)?

    vB Advanced is also installed in forum folder, but we have choice to move index.php in server root - will be that also possible with vB CMPS index.php?

  • #2
    Make a root index.php containing:

    PHP Code:
    <?php

    chdir
    ('./forum');
    require_once(
    './content.php');

    ?>

    Comment


    • #3
      Originally posted by squall14716 View Post
      Make a root index.php containing:

      PHP Code:
      <?php

      chdir
      ('./forum');
      require_once(
      './content.php');

      ?>

      So, this will be solution if answer is NO for question in first post?

      Just create php file with that 6 lines of code?

      Comment


      • #4
        It wouldn't change the URL references from forum/content.php in the templates, but it definitely does work to make your root directory point directly to the CMS.

        Comment


        • #5
          A quick rewrite or the PHP based solution above will do just fine.
          vB4 SuperCharged
          http://www.gamingmasters.co.uk

          Comment

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