Announcement

Collapse
No announcement yet.

Can't open forum home page

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

  • Can't open forum home page

    Hi,

    today I have made upgrade to vb5 and now I can't open forum homepage. When I click on link site.com/forum it redirects me to site.com/forum/forum?s=xxxxxxxx
    Download Windows Software

  • #2
    Hi Dzi13, forwarding this to Tech Support. Sorry you are having problems with your upgrade to vB5. Thank you.

    Comment


    • #3
      You need to replace your old .htaccess file with the one provided with vBulletin 5 in the Upload directory. Previous rewrites and addons like vBSEO are not supported in vBulletin 5.
      Translations provided by Google.

      Wayne Luke
      The Rabid Badger - a vBulletin Cloud customization and demonstration site.
      vBulletin 5 Documentation - Updated every Friday. Report issues here.
      vBulletin 5 API - Full / Mobile
      I am not currently available for vB Messenger Chats.

      Comment


      • #4
        Hi, yes I have new .htaccess file. Here it is:
        <IfModule mod_rewrite.c>
        RewriteEngine On

        # Send css calls directly to the correct file VBV-7807
        RewriteRule ^css.php$ core/css.php [NC,L]

        # Redirect old install path to core.
        RewriteRule ^install/ core/install/ [NC,L]

        # Main Redirect
        RewriteCond %{REQUEST_URI} !\.(gif|jpg|jpeg|png|css)$
        RewriteCond %{REQUEST_FILENAME} !-f
        RewriteCond %{REQUEST_FILENAME} !-d
        RewriteRule ^(.*)$ index.php?routestring=$1 [L,QSA]

        # Because admincp is an actual directory.
        RewriteRule ^(admincp/)$ index.php?routestring=$1 [L,QSA]

        </IfModule>

        <IfModule mod_deflate.c>
        AddOutputFilterByType DEFLATE application/atom+xml \
        text/javascript \
        application/javascript \
        application/json \
        application/rss+xml \
        application/vnd.ms-fontobject \
        application/x-font-ttf \
        application/xhtml+xml \
        application/xml \
        font/opentype \
        image/svg+xml \
        image/x-icon \
        text/css \
        text/html \
        text/plain \
        text/x-component \
        text/xml
        </IfModule>

        <IfModule mod_expires.c>
        ExpiresActive On
        ExpiresByType application/x-javascript A1209600
        ExpiresByType text/javascript A1209600
        ExpiresByType application/javascript A1209600
        ExpiresByType text/css A31536000
        ExpiresByType image/x-icon A2592000
        ExpiresByType image/icon A2592000
        ExpiresByType application/x-ico A2592000
        ExpiresByType application/ico A2592000
        ExpiresByType image/gif A2592000
        ExpiresByType image/jpeg A1209600
        ExpiresByType image/jpg A1209600
        ExpiresByType image/png A1209600
        ExpiresByType application/x-shockwave-flash A1209600
        ExpiresByType font/ttf A2592000
        ExpiresByType font/otf A2592000
        ExpiresByType font/x-woff A2592000
        ExpiresByType image/svg+xml A2592000
        ExpiresByType font/truetype A2592000
        ExpiresByType font/opentype A2592000
        ExpiresByType application/x-font-woff A2592000
        ExpiresByType application/vnd.ms-fontobject A2592000
        </IfModule>

        <IfModule mod_headers.c>
        Header set Connection keep-alive
        <filesmatch "\.(ico|flv|gif|swf|eot|woff|otf|ttf|svg)$">
        Header set Cache-Control "max-age=2592000, public"
        </filesmatch>
        <filesmatch "\.(jpg|jpeg|png)$">
        Header set Cache-Control "max-age=1209600, public"
        </filesmatch>
        <filesmatch "\.(eot|woff|otf|ttf|svg)$">
        Header set Cache-Control "max-age=2592000, public"
        </filesmatch>
        # css and js should use private for proxy caching https://developers.google.com/speed/...geProxyCaching
        <filesmatch "\.(css)$">
        Header set Cache-Control "max-age=31536000, private"
        </filesmatch>
        <filesmatch "\.(js)$">
        Header set Cache-Control "max-age=1209600, private"
        </filesmatch>
        </IfModule>
        Download Windows Software

        Comment


        • #5
          Also, I noticed that home page works when i change folder and url from /forum to /forum2 (rename folder and change $config['baseurl'])
          Download Windows Software

          Comment


          • #6
            I have found the problem. I had redirection in root of site (not in forum - fix I got from vb support in past for vb4)

            RedirectMatch 301 /forum/$ http://www.site.com/forum/forum.php

            Thank you
            Download Windows Software

            Comment

            Related Topics

            Collapse

            Working...
            X