Results 1 to 10 of 10

site root vbseo problem.

This is a discussion on site root vbseo problem. within the Troubleshooting forums, part of the vBSEO SEO Plugin category; Hey, I have an index page (site/index.php) that is integrated with my forums (site/forum) I now wanted to integrate it ...

  1. #1
    Junior Member
    Join Date
    Oct 2005
    Posts
    13
    Liked
    0 times

    site root vbseo problem.

    Hey,
    I have an index page (site/index.php) that is integrated with my forums (site/forum)

    I now wanted to integrate it with vbseo so I used the ?vbseorelpath in the .htaccess file.

    If I go to: 'site/' it works fine, but if I go to 'site/index.php' I get redirected to 'site/forum/?vbseorelpath=../'

    Somebody knows the solution for this problem?
    thx,
    seba

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

    please post the contents of your.htaccess file in the root folder.
    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  3. #3
    Junior Member
    Join Date
    Oct 2005
    Posts
    13
    Liked
    0 times
    # 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 /forum
    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&vbseorelpath=../&%{QUERY_STRING} [L]

    RewriteRule ^(archive/.*)$ vbseo.php?vbseourl=$1&vbseorelpath=../&%{QUERY_STRING} [L]

    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.+)$ vbseo.php?vbseourl=$1&vbseorelpath=../&%{QUERY_STRING} [L]

  4. #4
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    Hello,

    you don't have to put vBSEO's .htaccess to the root folder (it should be located in the forum/ folder ONLY).
    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  5. #5
    Junior Member
    Join Date
    Oct 2005
    Posts
    13
    Liked
    0 times
    But I saw other people doing this...
    So I want to use custom rewrite rules for root pages...

  6. #6
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    But it is not the same as original vBSEO .htaccess.

    Please try the following:
    RewriteEngine On

    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.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  7. #7
    Junior Member
    Join Date
    Oct 2005
    Posts
    13
    Liked
    0 times
    k, thank you very much, but the problem I now have is with a subdomain & vbseo.
    I can use vbseo out of my forum directory.
    I have a directory located like: www.example.com/forum/portfolio/ and I have a subdomain with that directory as target.

    But if I use the subdomain, with a seo url it says:
    /forum/vbseo.php is not found.
    however if I use: www.example.com/forum/portfolio/seolink.html it does work....

  8. #8
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    Hello,

    probably this is because there is no vBSEO files in the target subdomain.
    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  9. #9
    Junior Member
    Join Date
    Oct 2005
    Posts
    13
    Liked
    0 times
    hey,
    the subdomain's target is: www.example.com/forum/portfolio/
    The vbseo files are in /forum/
    I can use vbseo if I use the full url, but if I use the subdomain I get the error the files don't exist.

    So do I have to copy these files into /forum/portfolio/ ?

  10. #10
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    Hello,

    I'm not sure if that will work - the described functionality is supposed to work in the root of the same domain only.
    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


Similar Threads

  1. vBSEO 2.4.0 Released - Includes Google AdSense Targeting Feature!
    By Juan Muriente in forum vBSEO Announcements
    Replies: 74
    Last Post: 05-20-2006, 10:29 PM
  2. VBSEO crashing new server
    By MentaL in forum Troubleshooting
    Replies: 20
    Last Post: 12-11-2005, 07:55 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
  •