Results 1 to 2 of 2

How I configure my .htaccess to "001 or 002 under URL Rewrite Settings"?

This is a discussion on How I configure my .htaccess to "001 or 002 under URL Rewrite Settings"? within the General Discussion forums, part of the vBSEO SEO Plugin category; i use the 001 - Hierarchic .html type URLs with content relevant forums and threads (Default Settings) or 002 - ...

  1. #1
    Junior Member
    Real Name
    coffeel li
    Join Date
    Jun 2008
    Posts
    1
    Liked
    0 times

    Smile How I configure my .htaccess to "001 or 002 under URL Rewrite Settings"?

    i use the 001 - Hierarchic .html type URLs with content relevant forums and threads (Default Settings) or
    002 - Hierarchic directory type URLs with content relevant threads (used at www.vBSEO.com), it also display "Page not found",how to configure the .htaccess file? i can't found it in our forum,please help me,thanks.

    my forum set in site root

    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 %{QUERY_STRING} !vbseourl=
    RewriteCond %{REQUEST_URI} !(admincp/|modcp/|chat|cron)
    RewriteRule ^(.*\.php(/.*)?)$ vbseo.php?vbseourl=$1 [L,QSA]
    RewriteCond %{REQUEST_FILENAME} !\.(jpg|gif)$
    RewriteRule ^(archive/.*)$ vbseo.php?vbseourl=$1 [L,QSA]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/
    RewriteRule ^(.+)$ vbseo.php?vbseourl=$1 [L,QSA]

  2. #2
    vBSEO Staff Ace Shattock's Avatar
    Real Name
    Ace Shattock
    Join Date
    Jul 2005
    Location
    Auckland, New Zealand, New Zealand
    Posts
    4,011
    Liked
    13 times
    Hello,

    You are not currently showing as an Owner in our database. In order to provide support, we must verify your Owner status.

    Please PM me your forum URL and I will look into it.

Similar Threads

  1. Replies: 5
    Last Post: 09-09-2006, 04:11 AM
  2. Custom rewrite rule for "Search" and "Search Result"
    By Sony in forum Custom Rewrite Rules
    Replies: 1
    Last Post: 09-24-2005, 09:38 AM
  3. "Forum Index Pages URL Format" Settings Issue!
    By theself in forum Bug Reporting
    Replies: 5
    Last Post: 09-09-2005, 11:33 PM

Posting Permissions

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