vBulletin Search Engine Optimization
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 ...
| |||||||
Enhancing 80 million pages. | Register | FAQ | Members List | Social Groups | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| 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] 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? |
|
#2
| ||||
| ||||
|
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 |
|
#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. |