Hello,
Did i do this right? I have a sitemap for the main site and one for the forum. They are both in the google sitemap page.
This is a discussion on /sitemap.xml and forum/vbseo sitemap within the General Discussion forums, part of the vBSEO Google/Yahoo Sitemap category; Hello, Did i do this right? I have a sitemap for the main site and one for the forum. They ...
Hello,
Did i do this right? I have a sitemap for the main site and one for the forum. They are both in the google sitemap page.
As soon as you do not direct link to the forum/vbseo sitemap/data/ folder I think you can place the rewrite in any directory you like, on mine I have configured the rewrite in the http server root and the forum root to have my sitemap file accessible via the link website.com/sitemap_1.xml.gz and /forum/sitemap_1.xml.gz, also added both to yahoo and google master tools.
Mine are just /sitemap.xml and /forum/sitemap_1.xml.gz nothing in the rewrite url.
Both are submitted to google and yahoo. In the /sitemap.xml file i have
Should i take it off?Code:<url> <loc>http://www.noobgamers.com/forum/</loc> <priority>0.5</priority> <changefreq>daily</changefreq> </url>
Last edited by Julio; 04-16-2008 at 08:16 PM.
yes but instead of to write the .xml with only one link I would have do a new .htaccess file , you write in it
this is the exact same .htaccess file you have in the forum root, then you place it in the web server root and then the same full sitemap file will be available from both location, server + forum root without the need to place and maintain updated manually any real sitemap files in your root directories because the rewrite does all the job to redirect sitemap requests in the vbseo_sitemap dir.Code:RewriteEngine On RewriteRule ^((urllist|sitemap).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]