vBulletin Search Engine Optimization
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 ...
| |||||||
Enhancing 80 million pages. | Register | FAQ | Members List | Social Groups | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
|
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? |
|
#2
| ||||
| ||||
|
Hello, Quote:
Quote:
__________________ 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. |
|
#3
| |||
| |||
| Quote:
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 |
|
#4
| ||||
| ||||
|
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. |
|
#5
| |||
| |||
|
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) ? |
|
#6
| ||||
| ||||
| Quote:
__________________ 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. |
|
#7
| |||
| |||
|
OK. By doing that will it all index correctly under the root domain when it eventally gets listed?
|
|
#8
| ||||
| ||||
|
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. |
|
#9
| |||
| |||
|
#10
| ||||
| ||||
|
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. |
|
#11
| ||||
| ||||
|
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. |
|
#12
| |||
| |||
| Quote:
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
so tamworthweather.org.uk has the following htaccess in its home folder /tamworthweather Code: RewriteEngine off 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 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
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. |
|
#13
| ||||
| ||||
|
.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. |
|
#14
| |||
| |||
|
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
|
|
#15
| |||
| |||
|
ah, I think I may have it sorted. Should the .htaccess in /nzweather/forum remain as it is?
|
| Thread Tools | |
| |
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 |