I checked my sitemap url list tonight and notice, to my dismay, that it contained no URLs from the rest of my site. I did a search for issues related to this and found that it was recommended that a line of code should be added to the .htaccess file that is in the domain root. I checked my .htaccess file and there is a line of code there, just not exactly the same as what I found in an older message from 2005.
Here is what was recommended in another discussion from 2005:
Here is what I have in my own file:Code:RewriteRule ^(sitemap.*\.(xml|txt)(\.gz)?)$ /forums/vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
I know, of course, that the directory "forums" in the top code would need to be changed to whatever I use as the directory for my forums, which is what I have in my own file, as you can see from the second code.Code:RewriteRule ^((urllist|sitemap).*\.(xml|txt)(\.gz)?)$ community/vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
The problem is getting all the URLs that are NOT in the forums listed and that's not happening. The indication was that the line of code would fool the generator into looking at the whole site, not just the forums. On top of all this, I also have the add-on for vBadvanced in the proper location, which is the program I use to make all of the rest of my pages.
Can someone tell me how I can edit my .htaccess file to work properly, or help me edit the appropriate file(s) that will allow all of my pages (except private ones, of course) to be listed in the site map? Thanks for any assistance on this.
Jim


LinkBack URL
About LinkBacks





Reply With Quote
