vBulletin 4, the most powerful community software + vBSEO 3.5, the ultimate SEO solution = Your ultimate platform for 2010 and beyond. Click below to learn more.

Results 1 to 14 of 14

How does this work with vBadvanced?

This is a discussion on How does this work with vBadvanced? within the General Discussion forums, part of the vBSEO SEO Plugin category; Bit confused here, wasn't even sure where to post this. I have vBSEO installed and working well, I also use ...

  1. #1
    Member
    Real Name
    John Gonzalez
    Join Date
    Sep 2005
    Posts
    71

    Question How does this work with vBadvanced?

    Bit confused here, wasn't even sure where to post this.

    I have vBSEO installed and working well, I also use vBadvanced for my site.

    Forums are at /forum/ vbadvanced etc is at /

    I was previously using my .htaccess for rewrites of vBadvanced stuff, but I hear that vBSEO works with vBadvanced, but I do not know how.

    For example, a few of my URLs are:

    http://www.mini2.com/index.php?page=...rticlestart=10

    (the second page of my news headlines)

    http://www.mini2.com/index.php?page=newsitem&newsid=343

    (news article with newsid of 343)

    At present I use a very long winded way to get

    http://www.mini2.com/news10.html to link to the first (using htaccess 301)

    and
    www.mini2.com/article343.html to link to the second.

    (I have further pages, but they all follow a similar format for reviews etc.)

    Now, do I, can I get vBSEO to do the rewrites, either out of the box (I understand my "fake" .hmtl links would probably have to be updated) or as custom rewrite rules?

    Thanks in advance!

  2. #2
    Member
    Real Name
    John Gonzalez
    Join Date
    Sep 2005
    Posts
    71

    Re: How does this work with vBadvanced?

    This is how I work it at the moment.

    RewriteRule ^news(.*).html /index.php?page=mini2news&articlestart=$1 [L,R=301]
    RewriteRule ^article(.*).html /index.php?page=newsitem&newsid=$1 [L,R=301]

  3. #3
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    24,550

    Re: How does this work with vBadvanced?

    Hello,

    you can use the following CRRs to rewrite these links:
    Code:
    'index\.php\?page=newsitem&newsid=(\d+)' => 'article$1.html'
    'index\.php\?page=mini2news&articlestart=(\d+)' => 'news$1.html'
    
    You will have to add separate .htaccess file to the site root:
    RewriteCond %{REQUEST_FILENAME} !forum/
    RewriteCond %{QUERY_STRING} !vbseourl=
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ forum/vbseo.php?vbseourl=$1&vbseorelpath=../&%{QUERY_STRING} [L]
    Oleg Ignatiuk / Crawlability Inc.
    Sneek Preview Video of the new Control Panel

    vBSEO 3.5 RC2 (Final)- Released for your Evaluation


  4. #4
    Member
    Real Name
    John Gonzalez
    Join Date
    Sep 2005
    Posts
    71

    Re: How does this work with vBadvanced?

    Thank you very much!

    Another (last) question on this.

    I wish to redirect both sponsors.html and sponsor.html to the same page (index.php?page=directory)

    When I did this:

    'index\.php\?page=directory' => 'sponsors.html'
    'index\.php\?page=directory' => 'sponsor.html'

    It gave a "Page not found" for sponsors, but sponsor worked.

    Can I make this work?

    Thanks again!

  5. #5
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    24,550

    Re: How does this work with vBadvanced?

    Hello,

    you can only define one CRR per URL (because the same URL cannot be rewritten to both sponsor.html and sponsors.html at the same time )
    You should maintain manual rewrite rule in .htaccess for this:
    Code:
    RewriteRule ^sponsors?\.html$ index.php?page=directory [L]
    
    Oleg Ignatiuk / Crawlability Inc.
    Sneek Preview Video of the new Control Panel

    vBSEO 3.5 RC2 (Final)- Released for your Evaluation


  6. #6
    Member
    Real Name
    John Gonzalez
    Join Date
    Sep 2005
    Posts
    71

    Re: How does this work with vBadvanced?

    OK, no problem.

  7. #7
    Junior Member
    Real Name
    ncwoodworker
    Join Date
    Apr 2006
    Location
    North Carolina
    Posts
    13

    Re: How does this work with vBadvanced?

    Sorry, to tag along here. I too am using vbadvanced in the root and vb in /forums. Which directory do I install vbseo to? which directory gets the .htaccess? Thanks

  8. #8
    Senior Member
    Real Name
    Keith Cohen
    Join Date
    Jul 2005
    Location
    Raleigh, NC USA
    Posts
    6,147

    Re: How does this work with vBadvanced?

    Hello Steve,

    vBSEO goes into your forums directory, along with the .htaccess that comes with vBSEO.

    If vBadvanced CMPS is in the root, you'll need an additional .htaccess in that location, containing the information Oleg provided in the second part of his post here: How does this work with vBadvanced?

  9. #9
    Junior Member
    Real Name
    ncwoodworker
    Join Date
    Apr 2006
    Location
    North Carolina
    Posts
    13

    Re: How does this work with vBadvanced?

    Quote Originally Posted by ConqSoft
    Hello Steve,

    vBSEO goes into your forums directory, along with the .htaccess that comes with vBSEO.

    If vBadvanced CMPS is in the root, you'll need an additional .htaccess in that location, containing the information Oleg provided in the second part of his post here: How does this work with vBadvanced?
    Thank you. You are a gentleman and a scholar. But what else would I expect from a fellow North Carolinian

  10. #10
    Senior Member
    Real Name
    Keith Cohen
    Join Date
    Jul 2005
    Location
    Raleigh, NC USA
    Posts
    6,147

    Re: How does this work with vBadvanced?

    No problem.

  11. #11
    Senior Member
    Real Name
    joao barroca
    Join Date
    Apr 2006
    Location
    rio de janeiro
    Posts
    115

    Re: How does this work with vBadvanced?

    hello,
    just saing that I'm not a programmer and ask your have patient whit me...
    1. my forum is install in x-trad.org/forums
    2. I intall vbadvanced in site root.
    then...I read this thread and I need to confirm the htacess [2!]files
    file in x-trad.org/forums
    # 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.
    # linha comentada por mim RewriteEngine On
    RewriteEngine On
    RewriteRule ^(sitemap.*\.(xml\.gz|txt))$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
    # 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 /forums
    RewriteRule ^((urllist|sitemap).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
    RewriteCond %{REQUEST_FILENAME} -f
    RewriteCond %{REQUEST_FILENAME} (admincp|modcp|clientscript|cpstyles|images)/
    RewriteRule ^(.*)$ $1 [L]
    RewriteCond %{QUERY_STRING} !vbseourl=
    RewriteCond %{REQUEST_FILENAME} !chat
    RewriteRule ^(.*\.php)$ vbseo.php?vbseourl=$1&%{QUERY_STRING} [L]
    RewriteRule ^(archive/.*)$ vbseo.php?vbseourl=$1&%{QUERY_STRING} [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.+)$ vbseo.php?vbseourl=$1&%{QUERY_STRING} [L]
    ####################################
    ##### you can use the following CRRs to rewrite these links:
    #'index\.php\?page=newsitem&newsid=(\d+)' => 'article$1.html'
    #'index\.php\?page=mini2news&articlestart=(\d+)' => 'news$1.html'
    I comment this 2 lines - the vbadvanced don't show avatars and images anym
    more......


    in site root [x-trad.org] this htacess
    ####################################
    ##### You will have to add separate .htaccess file to the site root:####
    RewriteCond %{REQUEST_FILENAME} !forums/
    RewriteCond %{QUERY_STRING} !vbseourl=
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ forum/vbseo.php?vbseourl=$1&vbseorelpath=../&%{QUERY_STRING} [L]
    this is the right way?
    my best regards,
    barroca

  12. #12
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    24,550

    Re: How does this work with vBadvanced?

    Hello barroca,

    these lines should NOT be entered in .htaccess:
    Code:
    'index\.php\?page=newsitem&newsid=(\d+)' => 'article$1.html'
    'index\.php\?page=mini2news&articlestart=(\d+)' => 'news$1.html'
    
    you should add this to Custom Rewrite Rules section in vbseocp.


    You should also change:
    Code:
    RewriteRule ^(.*)$ forum/vbseo.php?vbseourl=$1&vbseorelpath=../&%{QUERY_STRING} [L]
    
    to
    Code:
    RewriteRule ^(.*)$ forums/vbseo.php?vbseourl=$1&vbseorelpath=../&%{QUERY_STRING} [L]
    
    Oleg Ignatiuk / Crawlability Inc.
    Sneek Preview Video of the new Control Panel

    vBSEO 3.5 RC2 (Final)- Released for your Evaluation


  13. #13
    Senior Member
    Real Name
    joao barroca
    Join Date
    Apr 2006
    Location
    rio de janeiro
    Posts
    115

    Smile Re: How does this work with vBadvanced?

    Tks again for your answer Oleg!
    I will change as you write. And send feedback here.
    Cheers,
    barroca
    ps. you can indicate some papers to read about htaccess and 'rewrites'?

  14. #14
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    24,550

    Re: How does this work with vBadvanced?

    Oleg Ignatiuk / Crawlability Inc.
    Sneek Preview Video of the new Control Panel

    vBSEO 3.5 RC2 (Final)- Released for your Evaluation


Similar Threads

  1. Poll on vbadvanced home page - View Poll Results
    By dazzlin in forum Troubleshooting
    Replies: 3
    Last Post: 02-16-2006, 05:47 PM
  2. vbadvanced and polls
    By Richard in forum Troubleshooting
    Replies: 2
    Last Post: 12-04-2005, 08:34 PM
  3. conflict with vBadvanced link urls
    By Jonathan in forum Bug Reporting
    Replies: 4
    Last Post: 08-10-2005, 07:00 PM