View Single Post
Old January 10th, 2009, 03:30 AM   #31
Alex
ninjette.org dude
 
Alex's Avatar
 
Name: 1 guess :-)
Location: SF Bay Area
Join Date: Jun 2008

Motorcycle(s): '13 Ninja 300 (white, the fastest color!), '13 R1200RT, '14 CRF250L, '12 TT-R125LE

Posts: Too much.
Blog Entries: 7
Well if you're still up, here's the last piece of the puzzle.

In the /forums directory, I have an htaccess file that has this in it:

Code:
RewriteRule ^((urllist|sitemap).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
What this does is rewrite the sitemap URL for google/yahoo/etc, so when they come in at:

http://www.ninjette.org/forums/sitemap_index.xml.gz

it gets rewritten behind the scenes to:

http://www.ninjette.org/forums/vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1

Since this in the /forums directory is overwriting the one in the higher directory, I am thinking I just move this rewrite up into that higher htaccess file and I'm all good. but when I put it in the higher one, and change it to:

Code:
RewriteRule ^((urllist|sitemap).*\.(xml|txt)(\.gz)?)$ forums/vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
No worky. Am I missing something obvious?

I also tried to just copy the good stuff that was working from the higher one down into the /forums one, but that didn't work well either, but I can see what that wouldn't...
__________________________________________________
Montgomery Street Motorcycle Club / cal24.com / crf250l.org / ninjette.org

ninjette.org Terms of Service

Shopping for motorcycle parts or equipment? Come here first.

The friendliest Ninja 250R/300/400 forum on the internet! (especially Unregistered)
Alex is offline   Reply With Quote