Results 1 to 7 of 7
Like Tree1Likes
  • 1 Post By ceho

htaccess for vB 4.1.9 and 4.1.10 vs. the vBSEO default

This is a discussion on htaccess for vB 4.1.9 and 4.1.10 vs. the vBSEO default within the General Discussion forums, part of the vBSEO SEO Plugin category; Hi, once more the good old htaccess topic ;-). The default vBSEO htaccess is still looking like this as there ...

  1. #1
    Senior Member ceho's Avatar
    Real Name
    Christian
    Join Date
    Dec 2008
    Location
    Germany
    Posts
    159
    Liked
    13 times

    htaccess for vB 4.1.9 and 4.1.10 vs. the vBSEO default

    Hi,

    once more the good old htaccess topic ;-). The default vBSEO htaccess is still looking like this as there has never been an update, right?

    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\.yourdomain\.com
    #RewriteRule (.*) http://www.yourdomain.com/forums/$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]
    vBulletin changed quite a lot of things in the last two gold versions, their default htaccess is now looking like this:

    Code:
    RewriteEngine on
    
    # If you are having problems or are using VirtualDocumentRoot, uncomment this line and set it to your vBulletin directory.
    # RewriteBase /forum/
    
    # If you are having problems with the rewrite from content/ to content.php, uncomment this line to turn MultiViews off.
    # Options -MultiViews
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -l [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    
    RewriteRule ^.*$ - [NC,L]
    
    # Forum
    RewriteRule ^threads/.* showthread.php [QSA]
    RewriteRule ^forums/.* forumdisplay.php [QSA]
    RewriteRule ^members/.* member.php [QSA]
    RewriteRule ^blogs/.* blog.php [QSA]
    RewriteRule ^entries/.* entry.php [QSA]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -l [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    
    RewriteRule ^.*$ - [NC,L]
    
    # MVC
    RewriteRule ^(?:(.*?)(?:/|$))(.*|$)$ $1.php?r=$2 [QSA]
    
    # Check MVC result
    RewriteCond %{REQUEST_FILENAME} -f
    RewriteRule ^(.*)$ - [NC,L]
    RewriteRule ^(.*)$ - [R=404,L]
    So my questions is what is the right htaccess for the latest vB versions that are running vBSEO? It's quite obvious that the vBSEO file needs to be updated, right? Personally I figure issues since I updated to 4.1.9 and 4.1.10 and vB tells me it's the htaccess of vBSEO I am using (mine is slightly modified as I use MaxCDN).

    Can you now take a look into this and provide an updated htaccess that's working fine with the latest vB versions and vBSEO please?

    Thanks a lot mates!

  2. #2
    vBSEO.com Webmaster Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul, Turkey, Turkey
    Posts
    23,100
    Liked
    622 times
    Blog Entries
    4
    With vBSEO you will always need to use vBSEO .htaccess
    Mert Gökçeimam / Crawlability Inc.

    vBSEO 3.6.0 Alpha Önizlemesi - Including Like Tree
    Unveiling the NEW vBSEO Sitemap Generator 3.0 - available NOW for vBSEO Customers!


    Twitter:@Depkac
    Personal Blog : Mert Gökçeimam

  3. #3
    Senior Member ceho's Avatar
    Real Name
    Christian
    Join Date
    Dec 2008
    Location
    Germany
    Posts
    159
    Liked
    13 times
    Thanks for the quick reply Mert, mich appreciated, especially on a Sunday.

    Sure, I understand what you say, and of course I didn't want to remove it ;-).

    I just wonder if vBSEO can assure that their old version is still valid and works flawless or if it needs to be updated to work well with the latest vB versions, you know?

    vB have changed so much especially since 4.1.8 and vBSEO didn't provide a single update for more than a year and there is no sign of a new version. So I assume a slight insecurity by a customer and to ask if it's still valid shouldn't be a big deal, is it ?

  4. #4
    Senior Member ceho's Avatar
    Real Name
    Christian
    Join Date
    Dec 2008
    Location
    Germany
    Posts
    159
    Liked
    13 times
    Did you guys ever take a look at this, is the the old standard vSBEO htaccess still valid for e.g. vB 4.1.10?

  5. #5
    Senior Member ceho's Avatar
    Real Name
    Christian
    Join Date
    Dec 2008
    Location
    Germany
    Posts
    159
    Liked
    13 times
    No answer to a valid question ?

  6. #6
    vBSEO.com Webmaster Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul, Turkey, Turkey
    Posts
    23,100
    Liked
    622 times
    Blog Entries
    4
    If there are any changes required , we will officially announce it Christian. No changes are required at all.
    Mert Gökçeimam / Crawlability Inc.

    vBSEO 3.6.0 Alpha Önizlemesi - Including Like Tree
    Unveiling the NEW vBSEO Sitemap Generator 3.0 - available NOW for vBSEO Customers!


    Twitter:@Depkac
    Personal Blog : Mert Gökçeimam

  7. #7
    Senior Member ceho's Avatar
    Real Name
    Christian
    Join Date
    Dec 2008
    Location
    Germany
    Posts
    159
    Liked
    13 times
    Thanks for the clarification Mert .

Similar Threads

  1. VBSEO default url
    By hhumas in forum General Discussion
    Replies: 5
    Last Post: 08-31-2011, 12:45 AM
  2. My vBSEO is default?
    By tokyoice in forum General Discussion
    Replies: 1
    Last Post: 05-13-2009, 06:17 PM
  3. Example of this vBSEO 1.0 default?
    By colenot in forum vBSEO.com Styles
    Replies: 2
    Last Post: 01-10-2009, 03:01 PM
  4. Default htaccess configuration
    By Adult SEO in forum General Discussion
    Replies: 1
    Last Post: 05-17-2007, 04:35 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •