Results 1 to 6 of 6

How to include vBSEO config

This is a discussion on How to include vBSEO config within the General Discussion forums, part of the vBSEO SEO Plugin category; Hello all after i install vbseo my forum is go slow and member angry i sherche here i find way ...

  1. #1
    Junior Member
    Real Name
    Aziz
    Join Date
    Sep 2008
    Posts
    6
    Liked
    0 times

    Exclamation How to include vBSEO config

    Hello all

    after i install vbseo my forum is go slow and member angry i sherche here i find way to make it fast . it's to include config_vbseo.php to httpd.conf i want to do it but i need some help i have root acct and i can edit httpd.conf what exactly i must to do ??

    1- include .htaccess to httpd.conf or include config_vbseo.php

    2- after i include config in httpd.conf can me del htaccess from my forum

    3- where i can put include code in httpd.conf at the header or at

    Code:
    <VirtualHost xx.xx.xx.xx:80>
    
    or here
    
    </VirtualHost>

  2. #2
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,741
    Liked
    168 times
    Hello,

    you should put the content of your .htaccess file (NOT config_vbseo.php) in <Directory> section in httpd.conf:
    Code:
    <Directory /path/to/your/forum>
    [.htaccess content here]
    </Directory>
    Then you should restart Apache and remove/rename .htaccess file.

  3. #3
    Junior Member
    Real Name
    Aziz
    Join Date
    Sep 2008
    Posts
    6
    Liked
    0 times
    i open httpd.conf and in first section i put this
    Code:
    <Directory /home/xxx/public_html/vb>
    RewriteBase /vb/
    RewriteCond %{HTTP_HOST} !^www\.xxx\.com
    RewriteRule (.*) http://www.xxx.com/vb/$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]
    </Directory>
    and rename .htaccess file after i done restart apache no error when restart it
    but now i can't login post or any link in my forum i got error 404

  4. #4
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,741
    Liked
    168 times
    You also need "RewriteEngine on" line at the top.

  5. #5
    Junior Member
    Real Name
    Aziz
    Join Date
    Sep 2008
    Posts
    6
    Liked
    0 times
    Thank you very much Oleg

  6. #6
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,741
    Liked
    168 times
    You are welcome

Similar Threads

  1. Hidden vBSEO Config Options
    By Mert Gökçeimam in forum General Discussion
    Replies: 22
    Last Post: 10-12-2008, 10:26 AM
  2. What not to include in Sitemap (and what to include in Robots.txt)
    By Marvin Hlavac in forum General Discussion
    Replies: 2
    Last Post: 03-21-2008, 10:35 AM
  3. What is the vbseo config file?
    By amnesia623 in forum General Discussion
    Replies: 2
    Last Post: 07-18-2007, 03:20 PM
  4. Need help with vbseo config
    By soletrader in forum General Discussion
    Replies: 3
    Last Post: 09-23-2006, 10:01 AM
  5. only able to view 1/3 of vbseo config area
    By mindhunter77 in forum Troubleshooting
    Replies: 5
    Last Post: 01-31-2006, 04:46 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
  •