vBulletin SEO Forums

SEO

vBulletin Search Engine Optimization

Buy vBSEO Now! HACKER SAFE certified sites prevent over 99.9% of hacker crime.
ne nw
vBSEO Total Support Team Launches DeskPro New vBSEO Discount Level for Network Builders vBSEO 3.2.0 GOLD Has Landed Success with vBSEO = 600ore Web Visitors + $1400 in a Day! Crawlability Inc. Files for SEO Technology Patent
se sw

multiple domain/forum/vbseo/htaccess

This is a discussion on multiple domain/forum/vbseo/htaccess within the Troubleshooting forums, part of the vBSEO Google/Yahoo Sitemap category; I have 2 domains and 2 forums. They are with the same host package with different "home directories" Forum A ...

Go Back   vBulletin SEO Forums > vBSEO Google/Yahoo Sitemap > Troubleshooting

Enhancing 80 million pages.

Register FAQ Members List Social Groups Calendar Search Today's Posts Mark Forums Read

Reply

 

LinkBack Thread Tools
  #1  
Old 02-16-2007, 01:53 PM
Member
 
Real Name: Optrex
Join Date: Sep 2006
Location: UK
Posts: 58
Question multiple domain/forum/vbseo/htaccess

I have 2 domains and 2 forums. They are with the same host package with different "home directories"

Forum A is in \directoryA with vba running the index.php and the forum is on forum.php my instance on vbseo runs fine. The url is foruma.com and points to the \directoryA

Forum B is in \directoyB\forum with the forum running on index.php while vba is in \directoryB running index.php. The url is forumb.com and points to the \directoryB

my vbseo for forum B is in \directoryB\forum\vbseo

I currently have \directoryB\.htaccess as "rewrite off" (to block the changes made by the forum A vbseo rewrite) and \directoryB\forum\.htaccess as "rewrite on" with the line inserted for the sitemap rewrite.

However, this means that my url for google is forumb.com\forum which messes up the stats and verification in Google once the sitemap has been submitted.

How do I change the .htaccess files so that the sitemap as far as google is concerned is in the top level of the domain?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #2  
Old 02-16-2007, 03:22 PM
Oleg Ignatiuk's Avatar
vBSEO Staff
vBSEO Total Customer SupportvBSEO Documenter
 
Real Name: Oleg Ignatiuk
Join Date: Jun 2005
Location: Belarus
Posts: 21,923
Hello,
Quote:
I currently have \directoryB\.htaccess as "rewrite off" (to block the changes made by the forum A vbseo rewrite) and
It should not be interfered, once directoryA and directoryB are different folders.


Quote:
However, this means that my url for google is forumb.com\forum which messes up the stats and verification in Google once the sitemap has been submitted.
What exactly is the error you get?
__________________
Oleg Ignatiuk / Crawlability Inc.
Support Team Launches New DeskPro Powered Tool Enhanced Support at Your Service

vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations

6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #3  
Old 02-16-2007, 04:41 PM
Member
 
Real Name: Optrex
Join Date: Sep 2006
Location: UK
Posts: 58
Quote:
Originally Posted by Oleg Ignatiuk View Post
Hello,

It should not be interfered, once directoryA and directoryB are different folders.


What exactly is the error you get?
If I remove the "rewrite off" then I get a error 400 internal server error on my forumb.com\index.php page.

I had to do that with a third site I run with php pages too when I set vbseo up on my first forum. See here Multiple websites on one server (where you suggested rewrite off in the support ticket)


The error I get from google is that the site needs to be verified at its top level domain ie forumb.com not forumb.com/forum
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #4  
Old 02-16-2007, 06:28 PM
Oleg Ignatiuk's Avatar
vBSEO Staff
vBSEO Total Customer SupportvBSEO Documenter
 
Real Name: Oleg Ignatiuk
Join Date: Jun 2005
Location: Belarus
Posts: 21,923
If you have problems with google verification, you should set ""File Not Found" requests handling?" option to " Send 404 HTTP code " in vbseocp.
__________________
Oleg Ignatiuk / Crawlability Inc.
Support Team Launches New DeskPro Powered Tool Enhanced Support at Your Service

vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations

6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #5  
Old 02-16-2007, 07:13 PM
Member
 
Real Name: Optrex
Join Date: Sep 2006
Location: UK
Posts: 58
Thanks Oleg - but I still have problems.

If I go to google webmaster tools and manage the site url I have given mydomain.com/forum and goto "crawl stats" it tells me "To see statistics for this site, verify at the root (mydomain.com) level."

If I do as it asks and verify at root domain level then because of the way I have to setup my .htaccess it cannot find my sitemap file.

Personally I would prefer to submit the root rather than the /forum address. So what do I need to do to allow it to see my sitemap, bearing in mind my .htaccess requirements (above) ?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #6  
Old 02-16-2007, 07:27 PM
Oleg Ignatiuk's Avatar
vBSEO Staff
vBSEO Total Customer SupportvBSEO Documenter
 
Real Name: Oleg Ignatiuk
Join Date: Jun 2005
Location: Belarus
Posts: 21,923
Quote:
If I do as it asks and verify at root domain level then because of the way I have to setup my .htaccess it cannot find my sitemap file.
You don't have top submit sitemap in order to verify your site with google. You can have sitemap in mydomain.com/forum/ entry, while checking other stats under mydomain.com entry.
__________________
Oleg Ignatiuk / Crawlability Inc.
Support Team Launches New DeskPro Powered Tool Enhanced Support at Your Service

vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations

6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #7  
Old 02-16-2007, 07:43 PM
Member
 
Real Name: Optrex
Join Date: Sep 2006
Location: UK
Posts: 58
OK. By doing that will it all index correctly under the root domain when it eventally gets listed?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #8  
Old 02-16-2007, 07:58 PM
Oleg Ignatiuk's Avatar
vBSEO Staff
vBSEO Total Customer SupportvBSEO Documenter
 
Real Name: Oleg Ignatiuk
Join Date: Jun 2005
Location: Belarus
Posts: 21,923
It doesn't affect the indexing of your domain root pages.
__________________
Oleg Ignatiuk / Crawlability Inc.
Support Team Launches New DeskPro Powered Tool Enhanced Support at Your Service

vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations

6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #9  
Old 02-21-2007, 07:04 AM
Member
 
Real Name: Optrex
Join Date: Sep 2006
Location: UK
Posts: 58
My fears have been confirmed. My domain is getting indexed under domain.com/forum not domain.com

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #10  
Old 02-21-2007, 08:17 AM
Oleg Ignatiuk's Avatar
vBSEO Staff
vBSEO Total Customer SupportvBSEO Documenter
 
Real Name: Oleg Ignatiuk
Join Date: Jun 2005
Location: Belarus
Posts: 21,923
I don't see any pages indexed for site - Google Search at the moment. Perhaps your homepage has not been indexed yet.
__________________
Oleg Ignatiuk / Crawlability Inc.
Support Team Launches New DeskPro Powered Tool Enhanced Support at Your Service

vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations

6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #11  
Old 02-21-2007, 08:23 AM
Oleg Ignatiuk's Avatar
vBSEO Staff
vBSEO Total Customer SupportvBSEO Documenter
 
Real Name: Oleg Ignatiuk
Join Date: Jun 2005
Location: Belarus
Posts: 21,923
How to put sitemap in domain root:
Sitemap in www root
__________________
Oleg Ignatiuk / Crawlability Inc.
Support Team Launches New DeskPro Powered Tool Enhanced Support at Your Service

vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations

6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #12  
Old 02-21-2007, 08:53 AM
Member
 
Real Name: Optrex
Join Date: Sep 2006
Location: UK
Posts: 58
Quote:
Originally Posted by Oleg Ignatiuk View Post
How to put sitemap in domain root:
Sitemap in www root
I can't do that though, as described in the issues above, which is what is giving me the problem.

Both sites are hosted on the same shared package which is what is causing me the problems.

I have midlandsweather.org.uk in the hosting package root /

its index file is vba portal file and is located in /index.php and its forum is in /forum.php the .htaccess is as follows

Code:
# 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 /
 
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 %{REQUEST_FILENAME}index.php -f
RewriteRule ^(.*)$ $1index.php [L]
RewriteCond %{QUERY_STRING} !vbseourl=
RewriteCond %{REQUEST_FILENAME} !chat
RewriteRule ^(.*.php)$ vbseo.php?vbseourl=$1&%{QUERY_STRING} [L]
RewriteRule ^$ vbseo.php?vbseourl=index.php [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]
 
   SetEnvIfNoCase User-Agent "libwww-perl/" bad_bot
   Order Allow,Deny
   Allow from all
   Deny from env=bad_bot
To allow my other sites to function with their php I have to add the following to their home directory share

so tamworthweather.org.uk has the following htaccess in its home folder /tamworthweather

Code:
RewriteEngine off
nzweather is in the home directory /nzeather

it has a vba portal page at /nzweather/index.php and its forum is /nzweather/forum/index.php

To allow both pages to work I have to use

Code:
RewriteEngine off
in the /nzweather folder

and

Code:
# 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 %{REQUEST_FILENAME}index.php -f
RewriteRule ^(.*)$ $1index.php [L]
RewriteCond %{QUERY_STRING} !vbseourl=
RewriteCond %{REQUEST_FILENAME} !chat
RewriteRule ^(.*.php)$ vbseo.php?vbseourl=$1&%{QUERY_STRING} [L]
RewriteRule ^$ vbseo.php?vbseourl=index.php [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]
 
   SetEnvIfNoCase User-Agent "libwww-perl/" bad_bot
   Order Allow,Deny
   Allow from all
   Deny from env=bad_bot
in the /nzweather/forum folder

however this means that to access my sitemap the url I have to give is nzweather/forum

If I put the above .htaccess in the /nzweather folder I get internal server errors.

What do I need to do, cos its driving me crazy

Last edited by optrex; 02-22-2007 at 05:56 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #13  
Old 02-21-2007, 03:03 PM
Oleg Ignatiuk's Avatar
vBSEO Staff
vBSEO Total Customer SupportvBSEO Documenter
 
Real Name: Oleg Ignatiuk
Join Date: Jun 2005
Location: Belarus
Posts: 21,923
.htaccess to put in /nzweather folder is:
Code:
RewriteEngine On
RewriteBase /
RewriteRule ^(sitemap.*\.(xml|txt)(\.gz)?)$ /forum/vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
__________________
Oleg Ignatiuk / Crawlability Inc.
Support Team Launches New DeskPro Powered Tool Enhanced Support at Your Service

vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations

6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #14  
Old 02-21-2007, 04:01 PM
Member
 
Real Name: Optrex
Join Date: Sep 2006
Location: UK
Posts: 58
that .htaccess is fine on my vba page and forum home, but when I goto the forum pages or posts I get error 404 not found
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #15  
Old 02-21-2007, 05:06 PM
Member
 
Real Name: Optrex
Join Date: Sep 2006
Location: UK
Posts: 58
ah, I think I may have it sorted. Should the .htaccess in /nzweather/forum remain as it is?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
Unique Page Titles on Multiple Page Threads rmjvol Feature Requests 1 07-05-2006 10:37 PM
Problem using same name for multiple forums s2kinteg916 General Discussion 1 02-07-2006 12:35 AM


All times are GMT -4. The time now is 10:57 PM.


Powered by vBulletin Version 3.8.0 Release Candidate 2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.5 ©2008, Crawlability, Inc.