Moving vBulletin from root directory to a folder "forum"

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • AttalaEA
    Member
    • Apr 2011
    • 41
    • 4.1.x

    [CMS] Moving vBulletin from root directory to a folder "forum"

    Hi I have moved all folders and files from my root directory to a folder named 'forum' and now I am getting this when I open my website:
    Index of /


    And I have changed site url to my website.com/forum but it doesn't work. Please I need urgent help as my website doesn't open.

    Appreciated
  • Mitzy
    Senior Member
    • Sep 2011
    • 145

    #2
    What do you have in your HTACCESS?

    Comment

    • AttalaEA
      Member
      • Apr 2011
      • 41
      • 4.1.x

      #3
      Originally posted by Mitzy
      What do you have in your HTACCESS?
      This what I have:

      Code:
      # Comment the following line (add '#' at the beginning)
      # to disable mod_rewrite functions.
      # Please note: you still need to disable the hack in
      # the vBSEO control panel to stop url rewrites.
      RewriteEngine On
      
      # Some servers require the Rewritebase directive to be
      # enabled (remove '#' at the beginning to activate)
      # Please note: when enabled, you must include the path
      # to your root vB folder (i.e. RewriteBase /forums/)
      RewriteBase /
      
      RewriteCond %{HTTP_HOST} !^www\.engcastle\.com
      RewriteRule (.*) http://www.engcastle.com/$1 [L,R=301]
      
      RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
      
      RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap|api\.php)
      RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbseo.php [L,QSA]
      
      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteCond %{REQUEST_FILENAME} !-d
      RewriteCond %{REQUEST_FILENAME} !/(admincp|modcp|clientscript|cpstyles|images)/
      RewriteRule ^(.+)$ vbseo.php [L,QSA]
      
      RewriteEngine on
      
      
      
      
      RewriteCond %{HTTP_REFERER} !^http://engcastle.com/.*$      [NC]
      RewriteCond %{HTTP_REFERER} !^http://engcastle.com$      [NC]
      RewriteCond %{HTTP_REFERER} !^http://engcastle1.engcastle.com/.*$      [NC]
      RewriteCond %{HTTP_REFERER} !^http://engcastle1.engcastle.com$      [NC]
      RewriteCond %{HTTP_REFERER} !^http://engcastle2.engcastle.com/.*$      [NC]
      RewriteCond %{HTTP_REFERER} !^http://engcastle2.engcastle.com$      [NC]
      RewriteCond %{HTTP_REFERER} !^http://engcastle3.engcastle.com/.*$      [NC]
      RewriteCond %{HTTP_REFERER} !^http://engcastle3.engcastle.com$      [NC]
      RewriteCond %{HTTP_REFERER} !^http://www.engcastle.com/.*$      [NC]
      RewriteCond %{HTTP_REFERER} !^http://www.engcastle.com$      [NC]
      RewriteCond %{HTTP_REFERER} !^http://www.engcastle1.engcastle.com/.*$      [NC]
      RewriteCond %{HTTP_REFERER} !^http://www.engcastle1.engcastle.com$      [NC]
      RewriteCond %{HTTP_REFERER} !^http://www.engcastle2.engcastle.com/.*$      [NC]
      RewriteCond %{HTTP_REFERER} !^http://www.engcastle2.engcastle.com$      [NC]
      RewriteCond %{HTTP_REFERER} !^http://www.engcastle3.engcastle.com/.*$      [NC]
      RewriteCond %{HTTP_REFERER} !^http://www.engcastle3.engcastle.com$      [NC]
      RewriteRule .*\.(jpg|jpeg|gif|png|bmp|ppt|pdf)$ - [F,NC]

      Comment

      • GhoHan
        Member
        • Nov 2007
        • 44
        • 4.1.x

        #4
        try to go to you admincp and setting your forum url
        Site will be available soon. Thank you for your patience!


        Settings > Options > Site Name / URL / Contact Details

        Forum URL: http://www.engcastle.com/forum
        Last edited by GhoHan; Sat 5 Nov '11, 11:44am.

        Comment

        • AttalaEA
          Member
          • Apr 2011
          • 41
          • 4.1.x

          #5
          Originally posted by i-comers.com
          try to go to you admincp and setting your forum url
          I did that already but it doesn't work.

          Comment

          • AttalaEA
            Member
            • Apr 2011
            • 41
            • 4.1.x

            #6
            Now I am getting this error also:

            Code:
            [B]Fatal error[/B]:  Call to undefined function vbseo_extra_inc() in [B]public_html/forum/includes/block/html.php(95) : eval()'d code[/B] on line [B]3[/B]

            Comment

            • GhoHan
              Member
              • Nov 2007
              • 44
              • 4.1.x

              #7
              also you can make sure vbulletin software by open file config.php at /home/attalaea/public_html/forum/includes/config.php


              find:
              Code:
              $config['Misc']['forumpath'] = '';

              and replace with this
              Code:
              $config['Misc']['forumpath'] = '/home/attalaea/public_html/forum';

              Comment

              • GhoHan
                Member
                • Nov 2007
                • 44
                • 4.1.x

                #8
                I think this only your add-ons vbseo
                try first open your /home/attalaea/public_html/forum/includes/config.php
                Code:
                <?php
                # Add This below <?php
                
                [COLOR=#0000BB][FONT=monospace]define[/FONT][/COLOR][COLOR=#007700][FONT=monospace]([/FONT][/COLOR][COLOR=#DD0000][FONT=monospace]'DISABLE_HOOKS'[/FONT][/COLOR][COLOR=#007700][FONT=monospace], [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]true[/FONT][/COLOR][COLOR=#007700][FONT=monospace]);  
                [/FONT][/COLOR]
                Fix your add-on and after that don't forget to remove to check your add-on working or not

                Comment

                • AttalaEA
                  Member
                  • Apr 2011
                  • 41
                  • 4.1.x

                  #9
                  Ok now it is fine but i have removed vbseo totally but when i enable the plugins again the vbseo gives the same error above any way to remove the vbseo totally and get my remaining plugins to work?

                  I do appreciate your help

                  Comment

                  • Zachery
                    Former vBulletin Support
                    • Jul 2002
                    • 59097

                    #10
                    You should contact vBSEO for vBSEO help

                    Comment

                    • GhoHan
                      Member
                      • Nov 2007
                      • 44
                      • 4.1.x

                      #11
                      @AttalaEA
                      Do you use xcache or anything similar?
                      maybe memcached?

                      Comment

                      • AttalaEA
                        Member
                        • Apr 2011
                        • 41
                        • 4.1.x

                        #12
                        Originally posted by i-comers.com
                        @AttalaEA
                        Do you use xcache or anything similar?
                        maybe memcached?
                        No Idea how do I know that?!

                        Comment

                        Related Topics

                        Collapse

                        Working...