Results 1 to 6 of 6

Problems with vbseo rewriting after moving forum to root folder

This is a discussion on Problems with vbseo rewriting after moving forum to root folder within the Troubleshooting forums, part of the vBSEO Google/Yahoo Sitemap category; I moved my forums to my root folder and I am having problems accessing any other non-vBulletin-related folder in the ...

  1. #1
    Junior Member
    Real Name
    Clara
    Join Date
    Jul 2006
    Location
    Santo Domingo
    Posts
    27
    Liked
    0 times

    Problems with vbseo rewriting after moving forum to root folder

    I moved my forums to my root folder and I am having problems accessing any other non-vBulletin-related folder in the root folder. I tried turning off vbseo but that didn't change and checked the .htaccess file as thoroughly as I could and still have problems. The non vB folders in my root server are /ads /adverts /admin /newsletter /subscription /shop, I can access /shop, but can't get past index.php

    Is it possible that some rewrite rule is redirecting my folders? Please help.

    This is a copy of my .htaccess
    Code:
    RewriteEngine on
    RewriteRule ^forums/(.*)$ http://www.dominicancooking.com/$1 [L,R=301]
    
    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|shop|admin)/
    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]
    
    
    RewriteCond %{HTTP_REFERER} 
    
    !^http://www.paypal.com/.*$      [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.paypal.com$      
    
    [NC]
    RewriteCond %{HTTP_REFERER} !^https://www.paypal.com/.*$      [NC]
    RewriteCond 
    
    %{HTTP_REFERER} !^https://www.paypal.com$      [NC]
    RewriteCond %{HTTP_REFERER} 
    
    !^https://paypal.com/.*$      [NC]
    RewriteCond %{HTTP_REFERER} !^https://paypal.com$      
    
    [NC]
    RewriteCond %{HTTP_REFERER} !^http://paypal.com/.*$      [NC]
    RewriteCond %{HTTP_REFERER} 
    
    !^http://paypal.com$      [NC]
    RewriteCond %{HTTP_REFERER} !^http://atomz.com/.*$      [NC]
    RewriteCond %{HTTP_REFERER} !^http://atomz.com$      [NC]
    RewriteCond %{HTTP_REFERER} 
    
    !^http://cocinadominicana.com/.*$      [NC]
    RewriteCond %{HTTP_REFERER} 
    
    !^http://cocinadominicana.com$      [NC]
    RewriteCond %{HTTP_REFERER} 
    
    !^http://dominicancooking.com/.*$      [NC]
    RewriteCond %{HTTP_REFERER} 
    
    !^http://dominicancooking.com$      [NC]
    RewriteCond %{HTTP_REFERER} !^http://dr1.com/.*$      
    
    [NC]
    RewriteCond %{HTTP_REFERER} !^http://dr1.com$      [NC]
    RewriteCond %{HTTP_REFERER} 
    
    !^http://ebay.com/.*$      [NC]
    RewriteCond %{HTTP_REFERER} !^http://ebay.com$      [NC]
    RewriteCond %{HTTP_REFERER} !^http://freefind.com/.*$      [NC]
    RewriteCond %{HTTP_REFERER} 
    
    !^http://freefind.com$      [NC]
    RewriteCond %{HTTP_REFERER} !^http://search.atomz.com/.*$      
    
    [NC]
    RewriteCond %{HTTP_REFERER} !^http://search.atomz.com$      [NC]
    RewriteCond 
    
    %{HTTP_REFERER} !^http://search.freefind.com/.*$      [NC]
    RewriteCond %{HTTP_REFERER} 
    
    !^http://search.freefind.com$      [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.atomz.com/.*$  
    
        [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.atomz.com$      [NC]
    RewriteCond 
    
    %{HTTP_REFERER} !^http://www.burst.com/.*$      [NC]
    RewriteCond %{HTTP_REFERER} 
    
    !^http://www.burst.com$      [NC]
    RewriteCond %{HTTP_REFERER} 
    
    !^http://www.cocinadominicana.com/.*$      [NC]
    RewriteCond %{HTTP_REFERER} 
    
    !^http://www.cocinadominicana.com$      [NC]
    RewriteCond %{HTTP_REFERER} 
    
    !^http://www.dominicancooking.com/.*$      [NC]
    RewriteCond %{HTTP_REFERER} 
    
    !^http://www.dominicancooking.com$      [NC]
    RewriteCond %{HTTP_REFERER} 
    
    !^http://www.dr1.com/.*$      [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.dr1.com$      
    
    [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.ebay.com/.*$      [NC]
    RewriteCond 
    
    %{HTTP_REFERER} !^http://www.ebay.com$      [NC]
    RewriteCond %{HTTP_REFERER} 
    
    !^http://www.freefind.com/.*$      [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.freefind.com$  
    
        [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.search.atomz.com/.*$      [NC]
    RewriteCond 
    
    %{HTTP_REFERER} !^http://www.search.atomz.com$      [NC]
    RewriteCond %{HTTP_REFERER} 
    
    !^http://www.search.freefind.com/.*$      [NC]
    RewriteCond %{HTTP_REFERER} 
    
    !^http://www.search.freefind.com$      [NC]
    RewriteCond %{HTTP_REFERER} 
    
    !^https://www.ebay.com/.*$      [NC]
    RewriteCond %{HTTP_REFERER} !^https://www.ebay.com$      
    
    [NC]
    RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ http://dominicancooking.com [R,NC]
    
    <Files 
    
    403.shtml>
    order allow,deny
    allow from all
    </Files>
    
    RedirectMatch permanent ^/store$ 
    
    http://www.dominicancooking.com/shop
    
    RedirectMatch permanent ^/store/index.htm$ 
    
    http://www.dominicancooking.com/shop/index.php
    
    RedirectMatch permanent ^/index.htm$ 
    
    http://www.dominicancooking.com/index.php
    
    RedirectMatch permanent 
    
    ^/store/dominicancookbook.htm$ http://www.dominicancooking.com/shop
    
    RedirectMatch permanent 
    
    ^/recipes/index.htm$ http://www.dominicancooking.com/dominican-recipes/
    
    
    RedirectMatch 
    
    permanent ^/dominicanrecipes.htm$ http://www.dominicancooking.com/dominican-recipes/
    
    RedirectMatch permanent ^/recipes/sidedishes/$ 
    
    http://www.dominicancooking.com/side-dishes-salads-casseroles/
    
    RedirectMatch permanent 
    
    ^/recipes/sidedishes/tostones.htm$ 
    
    http://www.dominicancooking.com/side-dishes-salads-casseroles/1266-tostones-flattened-fried-pla
    
    ntains.html
    
    RedirectMatch permanent ^/archives/articles/15.htm$ 
    
    http://www.dominicancooking.com/articles-features/1523-mamajuana.html
    
    RedirectMatch permanent 
    
    ^/cooking_school/dominicanfood.htm$ 
    
    http://www.dominicancooking.com/help-requests/9-i-love-dominican-food.html
    
    RedirectMatch 
    
    permanent ^/recipes/desserts/dominicancake.htm$ 
    
    http://www.dominicancooking.com/desserts-beverages/1446-bizcocho-dominicano-dominican-cake.html
    
    RedirectMatch permanent ^/recipes/specialoccasions/mofongo.htm$ 
    
    http://www.dominicancooking.com/side-dishes-salads-casseroles/1524-mofongo-garlic-flavored-mash
    
    ed-plantains.html
    
    RedirectMatch permanent ^/recipes/meat/polloguisado.htm$ 
    
    http://www.dominicancooking.com/meat-seafood-eggs/1395-pollo-guisado-stewed-chicken.html
    
    RedirectMatch permanent ^/recipes/specialoccasions/mondongo.htm$ 
    
    http://www.dominicancooking.com/meat-seafood-eggs/1525-mondongo-stewed-tripe.html
    
    
    RedirectMatch permanent ^/recipes/desserts/dulcedecoco.htm$ 
    
    http://www.dominicancooking.com/desserts-beverages/1445-dulce-de-coco-coconut-milk-fudge.html
    
    RedirectMatch permanent ^/recipes/beverages/morirsonando.htm$ 
    
    http://www.dominicancooking.com/desserts-beverages/1468-morir-sonando-milk-orange-juice.html
    
    RedirectMatch permanent ^/recipes/desserts/pudindepan.htm$ 
    
    http://www.dominicancooking.com/desserts-beverages/1435-pudin-de-pan-bread-pudding.html
    
    
    RedirectMatch permanent ^/dominicancooking.htm$ http://dominicancooking.com
    
    RedirectMatch 
    
    permanent ^/recipes/others/quesofrito.htm$ 
    
    http://www.dominicancooking.com/side-dishes-salads-casseroles/1422-queso-frito-fried-cheese.htm
    
    l
    
    RedirectMatch permanent ^/recipes/specialoccasions/sancocho.htm$ 
    
    http://www.dominicancooking.com/beans-soups-stews/1360-sancocho-7-meat-hearty-stew.html
    
    RedirectMatch permanent ^/recipes/desserts/majarete.htm$ 
    
    http://www.dominicancooking.com/desserts-beverages/1438-majarete-corn-pudding.html
    
    RedirectMatch permanent ^/recipes/desserts.htm$ 
    
    http://www.dominicancooking.com/desserts-beverages/
    
    RedirectMatch permanent 
    
    ^/recipes/desserts/arrozconleche.htm$ 
    
    http://www.dominicancooking.com/desserts-beverages/1442-arroz-con-leche-rice-pudding.html
    
    RedirectMatch permanent ^/recipes/sidedishes/yucafrita.htm$ 
    
    http://www.dominicancooking.com/side-dishes-salads-casseroles/1277-yuca-frita-deep-fried-cassav
    
    a.html
    
    RedirectMatch permanent ^/recipes/rice/chofan.htm$ 
    
    http://www.dominicancooking.com/rice-pasta-tubers-bread/1386-chofan-dominican-chow-fan.html
    
    RedirectMatch permanent ^/forums$ http://dominicancooking.com/forums.php
    
    
    
    RedirectMatch 
    
    permanent ^/recipes$ http://www.dominicancooking.com/section-dominicanrecipes.html

  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 Clara,

    if you remove all rewrite rules from .htaccess - does it work correctly?
    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
    Real Name
    Clara
    Join Date
    Jul 2006
    Location
    Santo Domingo
    Posts
    27
    Liked
    0 times
    Yes, when I removed this portion
    RewriteEngine on
    RewriteRule ^forums/(.*)$ http://www.dominicancooking.com/$1 [L,R=301]

    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|shop)/
    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]
    Last edited by Aunt Clara; 08-03-2006 at 10:39 PM. Reason: quoted too much

  4. #4
    Junior Member
    Real Name
    Clara
    Join Date
    Jul 2006
    Location
    Santo Domingo
    Posts
    27
    Liked
    0 times
    By changing RewriteCond %{REQUEST_FILENAME} (admincp|modcp|clientscript|cpstyles|images|shop)/
    to
    RewriteCond %{REQUEST_FILENAME}
    (admincp|modcp|clientscript|cpstyles|images|shop|s ubscription|ads|adverts|admin|newsletter)/
    I was able to open all files in these folders, except for /shop/. I think I need to tell the server to stop redirecting the folders within /shop/. Anyone knows how to do this? Please help me.

  5. #5
    Junior Member
    Real Name
    Clara
    Join Date
    Jul 2006
    Location
    Santo Domingo
    Posts
    27
    Liked
    0 times
    Never mind, I moved the forums folder back to its original one.

  6. #6
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    Hello Clara,
    replied to your support ticket
    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
  •