vBulletin SEO Forums

SEO

vBulletin Search Engine Optimization

Buy vBSEO Now!
vBSEO 2.0 Style Released vBSEO 3.3.0 GOLD Launched vBSEO's "LiveStats" for Google Analytics vB Sitemap Generator, Version 2.5 Success with vBSEO = 600ore Web Visitors + $1400 in a Day!

Moving sitemap folder to root (above /forums) causes issue

This is a discussion on Moving sitemap folder to root (above /forums) causes issue within the Troubleshooting forums, part of the vBSEO Google/Yahoo Sitemap category; http://www.nzboards.com/forums/?vbseorelpath=../ Thats what I get when I try to go to http://www.nzboards.com/vbseo_sitemap/index.php The content of my root .htaccess: Code: # ...

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

Enhancing 80 million pages.

  #1  
Old 12-18-2005, 01:55 PM
Ace Shattock's Avatar
vBSEO Staff
 
Real Name: Ace Shattock
Join Date: Jul 2005
Location: New Zealand
Posts: 3,250
Moving sitemap folder to root (above /forums) causes issue

http://www.nzboards.com/forums/?vbseorelpath=../

Thats what I get when I try to go to http://www.nzboards.com/vbseo_sitemap/index.php

The content of my root .htaccess:
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 /forums
RewriteRule ^(sitemap.*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
RewriteCond %{REQUEST_FILENAME} !forums/
RewriteCond %{QUERY_STRING} !vbseourl=
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ forums/vbseo.php?vbseourl=$1&vbseorelpath=../&%{QUERY_STRING} [L]

RewriteCond %{REQUEST_FILENAME} !forums/
RewriteRule ^(.*.php)$ forums/vbseo.php?vbseourl=$1&vbseorelpath=../&%{QUERY_STRING} [L]
I will move it back for now.. :(
__________________
Ace Shattock / Crawlability Inc.
vBSEO Styles: Version 1.0 PRO For Everyone Version 2.0 For vBSEO Customers

vBSEO 3.3.0 Gold Released with New "Virtual HTML Display" Feature Available for Download Now

6X Traffic - $1400 in One Day with vBSEO! Max Out Your SEO


My Personal Sites: New Zealand Forum | vBulletin Modifications and Styles | vBulletin Hosting
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #2  
Old 12-18-2005, 03:27 PM
Senior Member
 
Real Name: Holger
Join Date: Oct 2005
Location: Frankfurt / Germany
Posts: 576
Send a message via MSN to fsb-holger
Re: Moving sitemap folder to root (above /forums) causes issue

hello kall

i missing \ in your rule

Quote:
your rule
RewriteRule ^(sitemap.*.(xml|txt)(.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
would be correct
RewriteRule ^(sitemap.*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
regards
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #3  
Old 12-18-2005, 04:16 PM
Oleg Ignatiuk's Avatar
vBSEO Staff
vBSEO Total Customer Support
 
Real Name: Oleg Ignatiuk
Join Date: Jun 2005
Location: Belarus
Posts: 23,637
Re: Moving sitemap folder to root (above /forums) causes issue

Kall,

you should not move vbseo_sitemap outside of your forums folder because it is not designed to work in this way.

I suppose that you're doing this because you have included root URLs into sitemap, right?

If so, you should do the following instead:

1. Leave Sitemap Generator in "forums/vbseo_sitemap/" as it is now.

2. Include the following directive in your root .htaccess file:
Quote:
RewriteRule ^(sitemap.*\.(xml|txt)(.gz)?)$ forums/vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
3. Manually submit all individual sitemap files to Google, referring them to root:
http://www.yourdomain.com/sitemap_1.xml.gz
http://www.yourdomain.com/sitemap_2.xml.gz
etc.


4. Turn off "Notify Google" in admincp options for vBSEO Sitemap Generator (since it notifies with sitemap URLs in forums/ folder).


Does it make sense?
__________________
Oleg Ignatiuk / Crawlability Inc.
vBSEO Styles: Version 1.0 PRO For Everyone Version 2.0 For vBSEO Customers

vBSEO 3.3.0 Gold Released with New "Virtual HTML Display" Feature Available for Download Now

6X Traffic - $1400 in One Day with vBSEO! Max Out Your SEO

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #4  
Old 12-19-2005, 01:49 PM
Ace Shattock's Avatar
vBSEO Staff
 
Real Name: Ace Shattock
Join Date: Jul 2005
Location: New Zealand
Posts: 3,250
Re: Moving sitemap folder to root (above /forums) causes issue

Total sense.

If only I wasn't on my way to work, I would have a play.
__________________
Ace Shattock / Crawlability Inc.
vBSEO Styles: Version 1.0 PRO For Everyone Version 2.0 For vBSEO Customers

vBSEO 3.3.0 Gold Released with New "Virtual HTML Display" Feature Available for Download Now

6X Traffic - $1400 in One Day with vBSEO! Max Out Your SEO


My Personal Sites: New Zealand Forum | vBulletin Modifications and Styles | vBulletin Hosting
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #5  
Old 12-20-2005, 05:18 AM
Ace Shattock's Avatar
vBSEO Staff
 
Real Name: Ace Shattock
Join Date: Jul 2005
Location: New Zealand
Posts: 3,250
Re: Moving sitemap folder to root (above /forums) causes issue

Meanwhile... fsb-holger's rewrite rule works!
__________________
Ace Shattock / Crawlability Inc.
vBSEO Styles: Version 1.0 PRO For Everyone Version 2.0 For vBSEO Customers

vBSEO 3.3.0 Gold Released with New "Virtual HTML Display" Feature Available for Download Now

6X Traffic - $1400 in One Day with vBSEO! Max Out Your SEO


My Personal Sites: New Zealand Forum | vBulletin Modifications and Styles | vBulletin Hosting
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
Help moving forum to domain root treasureman Troubleshooting 4 04-20-2006 09:19 PM
Help moving from root folder to forum folder. Amos General Discussion 4 01-29-2006 09:20 PM
vBSEO Google/Yahoo Sitemap Generator for vBulletin 3.6.x, vBulletin 3.5.x & vBulletin 3.0.x Joe Ward General Discussion 0 12-17-2005 01:11 PM
VBSEO crashing new server MentaL Troubleshooting 20 12-11-2005 06:55 PM


All times are GMT -4. The time now is 06:20 PM.


Powered by vBulletin Version 3.8.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.0 ©2009, Crawlability, Inc.