Results 1 to 2 of 2

Subdomains Wont Work due to vbSEO

This is a discussion on Subdomains Wont Work due to vbSEO within the Troubleshooting forums, part of the vBSEO SEO Plugin category; I use my main domain for my vbsite. In addition to that domain I have several subdomains that as well ...

  1. #1
    Member
    Real Name
    Melissa
    Join Date
    Jul 2008
    Location
    In Front of the Puter Screen
    Posts
    74
    Liked
    0 times

    Subdomains Wont Work due to vbSEO

    I use my main domain for my vbsite. In addition to that domain I have several subdomains that as well that do NOT have vb installations on them, nor do they use vbSEO.

    However- I cannot get my subdomains to WORK due to vbSEO UNLESS I add this in the .htaccess file:

    Code:
    RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap)
    RewriteCond %{HTTP_HOST} !^www\.budget101\.com
    RewriteCond %{HTTP_HOST} !^subdomain2\.budget101\.com
    RewriteCond %{HTTP_HOST} !^subdomain3\.budget101\.com
    RewriteCond %{HTTP_HOST} !^kitchenmixgifts\.budget101\.com
    RewriteRule ^((archive/)?(.*\.php(/.*)?)?)$ vbseo.php [L,QSA]

    With the above code in the .htaccess- the subdomains show- However- it creates the following errors in the Site Error Logs:

    2012-01-15 13:14:36.858 [INFO] [97.93.222.177:60197-14#APVH_kitchenmixgifts.budget101.com] File not found [/home/b101/public_html/KitchenMixGifts/vbseo.php]
    2012-01-15 13:14:36.851 [INFO] [97.93.222.177:60198-13#APVH_kitchenmixgifts.budget101.com] File not found [/home/b101/public_html/KitchenMixGifts/404.shtml]
    2012-01-15 13:14:36.851 [INFO] [97.93.222.177:60198-13#APVH_kitchenmixgifts.budget101.com] File not found [/home/b101/public_html/KitchenMixGifts/vbseo.php]
    2012-01-15 13:14:36.829 [INFO] [97.93.222.177:60196-13#APVH_kitchenmixgifts.budget101.com] File not found [/home/b101/public_html/KitchenMixGifts/404.shtml]
    2012-01-15 13:14:36.829 [INFO] [97.93.222.177:60196-13#APVH_kitchenmixgifts.budget101.com] File not found [/home/b101/public_html/KitchenMixGifts/vbseo.php]

    So how do I get my subdomains to show properly without requiring vbSEO files in the root of their folders??

    If I remove the rewrite conditions:

    Code:
    RewriteCond %{HTTP_HOST} !^subdomain2\.budget101\.com
    RewriteCond %{HTTP_HOST} !^subdomain3\.budget101\.com
    RewriteCond %{HTTP_HOST} !^kitchenmixgifts\.budget101\.com
    Those particular subdomains are no longer accessible.

  2. #2
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    see the making exceptions header--
    [How to] Setup www.yourdomain.com or yourdomain.com (www vs. non-www) - With .htaccess 301 redirects - vBulletin SEO Forums

Similar Threads

  1. Facebook Share Help why wont this code work!! (vbseo?)
    By Vodkaholic in forum General Discussion
    Replies: 12
    Last Post: 08-01-2010, 01:07 AM
  2. Does vbSEO work with subdomains?
    By Carlos SEO in forum Pre-Sales Questions
    Replies: 1
    Last Post: 05-10-2008, 04:51 PM
  3. Seo wont work
    By Lindsey in forum Troubleshooting
    Replies: 3
    Last Post: 03-04-2008, 06:36 AM
  4. Why wont www.example.com/sitemap_index.xml.gz work?
    By toejam in forum General Discussion
    Replies: 14
    Last Post: 09-17-2007, 08:39 PM
  5. This Plugin Wont work if VbSEO was On :(
    By ww-n.com in forum Troubleshooting
    Replies: 5
    Last Post: 06-05-2007, 05:19 AM

Posting Permissions

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