Results 1 to 6 of 6

Which .htaccess line is which?

This is a discussion on Which .htaccess line is which? within the General Discussion forums, part of the vBSEO Google/Yahoo Sitemap category; Hello, I was just installing Sitemap tonight and got to the "add this line to your forumroot/.htaccess file" when I ...

  1. #1
    eJM
    eJM is offline
    Senior Member eJM's Avatar
    Real Name
    Jim McClain
    Join Date
    May 2006
    Location
    teh Ether
    Posts
    303
    Liked
    2 times

    Which .htaccess line is which?

    Hello,

    I was just installing Sitemap tonight and got to the "add this line to your forumroot/.htaccess file" when I noticed my .htaccess file already had a sitemap line in it:
    Code:
    RewriteRule ^((urllist|sitemap).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
    But that line isn't the same as the line I was told in the readme.htm to add to the .htaccess file, which was this:
    Code:
    RewriteRule ^(sitemap.*\.(xml\.gz|txt))$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
    Just for giggles, I decided to compare them all with the line already included in the package's .htaccess file:
    Code:
    RewriteRule ^(sitemap.*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
    Now I'm really confused. Just so you can all see more clearly, here is all three lines together:
    Code:
    RewriteRule ^((urllist|sitemap).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
    RewriteRule ^(sitemap.*\.(xml\.gz|txt))$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
    RewriteRule ^(sitemap.*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
    Which one is the one I should be using, or maybe I have to customize it a little for my particular situation.

    I have my forums located in thefloorpro.com/community, but I have content (I hope a LOT of content soon) in my domain root and several other sub-directories (thefloorpro/articles, thefloorpro/reviews, thefloorpro/how-to, etcetera). I want the sitemap to map all of the site, not just the forums. I noticed in another thread that it is suggested that another line similar to one of these should be added to the domain root's .htaccess file and to add community/ to the path (or forum/ - whatever the name of your forum directory).

    What line do I put in my forumroot/.htaccess and what line should I put, if any, in my domainroot/.htaccess? Some guidance here would be appreciated. Thank you.

  2. #2
    Senior Member
    Real Name
    Keith Cohen
    Join Date
    Jul 2005
    Location
    Raleigh, NC USA
    Posts
    6,147
    Liked
    12 times
    This is the most up-to-date one and the one you should use in your site's root .htaccess, if that's the level you are going to use:

    RewriteRule ^((urllist|sitemap).*\.(xml|txt)(\.gz)?)$ community/vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]

    vBSEO Sitemap 1.7 creates the urllist.txt.gz file to be more compatible with Yahoo.

  3. #3
    eJM
    eJM is offline
    Senior Member eJM's Avatar
    Real Name
    Jim McClain
    Join Date
    May 2006
    Location
    teh Ether
    Posts
    303
    Liked
    2 times
    I don't believe I have version 1.7, Kieth. Mine is 1.6.1. I was just on the vBulletin.org site and they don't have 1.7 as far as I can tell. Direct me?

    Thank you. It's so nice to have support this late in the evening, especially knowing you are way out in NC.

  4. #4
    Senior Member
    Real Name
    Keith Cohen
    Join Date
    Jul 2005
    Location
    Raleigh, NC USA
    Posts
    6,147
    Liked
    12 times
    Here you are, it's linked a few posts down in this thread. You should consider moving up to vBSEO 3.0.0 RC3 too, since 2.4.0 has some known bugs.

    vBSEO v.3.0.0 Release Candidate 3 Released! (Sitemap post: vBSEO v.3.0.0 Release Candidate 3 Released!)

  5. #5
    eJM
    eJM is offline
    Senior Member eJM's Avatar
    Real Name
    Jim McClain
    Join Date
    May 2006
    Location
    teh Ether
    Posts
    303
    Liked
    2 times
    Thanks, Kieth. It isn't mentioned that I could see, can I install 1.7 with the current vBSEO version 2.4.0? Maybe if it's not that much trouble I should just install 3.0 RC3, but that means I have to go through the upgrade process with all the RC's and then the gold version. Is it painless?

  6. #6
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    Hello,

    the upgrade process is fast and easy (no more than a few minutes) - just upload the files from the vBSEO package and import xml product file in vB admincp.
    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


Similar Threads

  1. Some extreme issues need help on fixing.
    By pspcrazy in forum Troubleshooting
    Replies: 14
    Last Post: 03-14-2006, 04:40 AM
  2. whoa, tons of errors
    By mindhunter77 in forum Troubleshooting
    Replies: 5
    Last Post: 03-10-2006, 04:39 AM
  3. only able to view 1/3 of vbseo config area
    By mindhunter77 in forum Troubleshooting
    Replies: 5
    Last Post: 01-31-2006, 05:46 PM
  4. adding my vbadvanced pages....
    By BamaStangGuy in forum General Discussion
    Replies: 8
    Last Post: 12-12-2005, 11:18 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •