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

Subdir and htaccess

This is a discussion on Subdir and htaccess within the Troubleshooting forums, part of the vBSEO Google/Yahoo Sitemap category; Hello, I downloaded vBSEO Google/Yahoo Sitemap Generator v.2.0 at vb .org. Our forum is located in a subdirectory. I change ...

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
  #1  
Old 11-03-2007, 04:58 PM
Junior Member
 
Real Name: TosaInu
Join Date: Nov 2007
Posts: 3
Subdir and htaccess

Hello,

I downloaded vBSEO Google/Yahoo Sitemap Generator v.2.0 at vb.org.

Our forum is located in a subdirectory.
I change the htaccess to
Code:
RewriteEngine On
RewriteRule ^((urllist|sitemap).*\.(xml|txt)(\.gz)?)$ subdir/vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
Store this .htaccess in the root of the domain and change Sitemap Files URL in vb Options to http://www.mydomain.com/subdir/vbseo_sitemap
Is that correct?
The sitemap script times out when I run it the first time, though the files are generated (so it's the browser, not the script really?). When it's run the second time it seem just to update? It does report but also creates a warning: Warning: unlink() has been disabled for security reasons in.. Can this warning be ignored?

The testforum isn't used, yet whenever I run the sitemap generator, another 5 kb file is added. What/why is that and wouldn't the data directory be in need of pruning at some point?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #2  
Old 11-03-2007, 07:19 PM
Keith Cohen's Avatar
vBSEO Staff
vBSEO Total Customer SupportBig Board Administrator
 
Real Name: Keith Cohen
Join Date: Jul 2005
Location: Raleigh, NC USA
Posts: 6,277
No, if you are putting the .htaccess in the root of your site, the URL would be http://www.mydomain.com/

And you would submit this to Google: http://www.mydomain.com/sitemap_index.xml.gz

I think the unlink command is being used to delete the old sitemap before generating the new one. If it's not able to delete the old one, it may not be working correctly.
__________________
Keith Cohen / 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.


My Personal Sites: My Blog | GPS Discussion Forum
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #3  
Old 11-04-2007, 09:40 AM
Junior Member
 
Real Name: TosaInu
Join Date: Nov 2007
Posts: 3
Hello Keith Cohen,

The custom content of the htaccess with the extra subdir is correct?

http://www.mydomain.com/subdir is where vbulletin is installed.
The sitemap_index.xml.gz is, in my case, stored in http://www.mydomain.com/subdir/vbseo_sitemap/data/ (that's the standard structure but put in the forum subdir).

If the URL http://www.mydomain .com in the ACP sends http://www.mydomain.com/sitemap_index.xml.gz to google, I need http://www.mydomain.com/subdir/vbseo_sitemap/data/ ?

Last edited by TosaInu; 11-05-2007 at 09:32 PM.
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



All times are GMT -4. The time now is 09:51 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.