Results 1 to 5 of 5

Can I get help testing to make sure

This is a discussion on Can I get help testing to make sure within the Troubleshooting forums, part of the vBSEO Google/Yahoo Sitemap category; Hello. I'm new to all this sitemap stuff and i've been reading a few of the threads around here and ...

  1. #1
    Member
    Real Name
    Patrick
    Join Date
    Sep 2007
    Posts
    75
    Liked
    0 times

    Can I get help testing to make sure

    Hello. I'm new to all this sitemap stuff and i've been reading a few of the threads around here and well, though somewhat confused because of different suggestions for/from diffrent people, i was hoping to find out if my settings are all correct for my setup.

    first. i want to clarify that my forum is in a subdirectory
    Legion of Angels Forums

    with that. here is my .htaccess file within that same directory

    # Comment the following line (add '#' at the beginning)
    # to disable mod_rewrite functions.
    # Please note: you still need to disable the hack in
    # the vBSEO control panel to stop url rewrites.
    RewriteEngine On
    # Some servers require the Rewritebase directive to be
    # enabled (remove '#' at the beginning to activate)
    # Please note: when enabled, you must include the path
    # to your root vB folder (i.e. RewriteBase /forums)
    RewriteBase /forum
    RewriteCond %{HTTP_HOST} !^Legion of Angels
    RewriteRule (.*) http://www.legionofangels.net/forum/$1 [L,R=301]
    RewriteRule ^sitemap(\.txt(\.gz)?)$ forum/vbseo_sitemap/vbseo_getsitemap.php?sitemap=urllist$1 [L]
    RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ forum/vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
    RewriteCond %{QUERY_STRING} !vbseourl=
    RewriteCond %{REQUEST_URI} !(admincp/|modcp/|chat|cron)
    RewriteRule ^(.*\.php)$ vbseo.php?vbseourl=$1 [L,QSA]
    RewriteCond %{REQUEST_FILENAME} !\.(jpg|gif)$
    RewriteRule ^(archive/.*)$ vbseo.php?vbseourl=$1 [L,QSA]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/
    RewriteRule ^(.+)$ vbseo.php?vbseourl=$1 [L,QSA]
    i mofidied 1 line to match that of a suggestion in another thread i found regarding robots.txt that mentioned that i should add forum/ over here

    RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ forum/vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
    i also added an extra line i noticed he had just for the heck of it that wasn't in the original vbseo .htaccess

    RewriteRule ^sitemap(\.txt(\.gz)?)$ forum/vbseo_sitemap/vbseo_getsitemap.php?sitemap=urllist$1 [L]
    still not sure most of this does but if it works i dont' mind.


    with that. i am just hoping someone could confirm everything is correct for me. i would greatly appreciate it.


    with that. i would like to ask the following related questions.


    1. when i click on the following link http://www.legionofangels.net/forum/sitemap_index.xml.gz from within the seoreports page within the admincp. what should i get? cause i get a blank page.

    2. when i MANUALLY submit the above "sitemap" to google using their webmaster tools, which btw, does not exist in the ftp directory, what's supposed to happen is google reads the .htaccess file first and then goes to the real location that's within vbseo_sitemap/data?

    because when i submit it manually, it says there is an error and gives me this error

    Network unreachable: Network unreachable
    We encountered an error while trying to access your Sitemap. Please ensure your Sitemap follows our guidelines and can be accessed at the location you provided and then resubmit
    3. i double checked permissions and have the following:

    data folder is 777.
    hits folder is 777
    all the *.gz files (3 total) are 666
    all the log files are 666
    index.php is 644
    .htaccess (the one that says deny all) is 644
    and downloads.dat is 644

    are these all correct?


    4. what do you recommend i have for a .htaccess file for my root directory (not forum) if anything at all?

    5. if i have a sitemap for my forums with the help of this, do i still need one, or is one recommended for my main page?

    main page: Legion of Angels
    forum: Legion of Angels Forums

    5.a. and if i do, does the main page one still have to go as far as the forum? or can i make one that only stays within root so it's smaller? cause i tried using this site Create your Google Sitemap Online - XML Sitemaps and that thing took forever and i decided to just quit and not use it. it was scanning like every single forum page i have. O_o

    6. which file is scanned first by crawlers, robots or .htaccess or sitemap?

    6.a. cause if it's robots. does that mean i should have made a robots file BEFORE making a sitemap so that the sitemap generator skips over the the files i specified in robots? O_o

    6.b. if so. could someone list for me the most common useless pages i can exclude from my forum? or any directory you think i should exclude that might pose a security risk? i'd very much appreciate that as i would like to completely redo my robots.txt especially since i might have to adjust it for the new url's that vbseo made which are nice and much shorter.


    7. i only need ONE robots.txt file right? and it always goes to root right? (not forum root)

    8. but i can have multiple .htaccess? do i have to or just if i wanted to? (one for root, one for forum root?)


    9. i think i had more q's but i forgot. i'm sorry for having so many. i tried to find the answers to most of these in older threads but i kept getting mixed suggestions. some would say something. and others would have yet more to say. not neccisrily conflicting advice, but maybe. and i didn't know which to believe/follow.


    thank you very much in advanced. i just wnna get rid of the doubts in my head so i can start making real progress, and not have so many questions next time i get stuck.

    thanks again.

  2. #2
    Senior Member
    Real Name
    Michael Biddle
    Join Date
    Jan 2007
    Location
    Southern California
    Posts
    7,097
    Liked
    5 times
    In your htaccess you have this:

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

    take the forum off of that line.

    RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$ 1 [L]
    The Forum Hosting - Forum Hosting from the Forum Experts

  3. #3
    Member
    Real Name
    Patrick
    Join Date
    Sep 2007
    Posts
    75
    Liked
    0 times
    done and done! thanks.


    /me will await the answers for the other q's.

  4. #4
    Senior Member
    Real Name
    Michael Biddle
    Join Date
    Jan 2007
    Location
    Southern California
    Posts
    7,097
    Liked
    5 times
    Quote Originally Posted by legionofangels View Post
    1. when i click on the following link http://www.legionofangels.net/forum/...p_index.xml.gz from within the seoreports page within the admincp. what should i get? cause i get a blank page.

    2. when i MANUALLY submit the above "sitemap" to google using their webmaster tools, which btw, does not exist in the ftp directory, what's supposed to happen is google reads the .htaccess file first and then goes to the real location that's within vbseo_sitemap/data?

    because when i submit it manually, it says there is an error and gives me this error



    3. i double checked permissions and have the following:

    data folder is 777.
    hits folder is 777
    all the *.gz files (3 total) are 666
    all the log files are 666
    index.php is 644
    .htaccess (the one that says deny all) is 644
    and downloads.dat is 644

    are these all correct?


    4. what do you recommend i have for a .htaccess file for my root directory (not forum) if anything at all?

    5. if i have a sitemap for my forums with the help of this, do i still need one, or is one recommended for my main page?

    main page: Legion of Angels
    forum: Legion of Angels Forums

    5.a. and if i do, does the main page one still have to go as far as the forum? or can i make one that only stays within root so it's smaller? cause i tried using this site Create your Google Sitemap Online - XML Sitemaps and that thing took forever and i decided to just quit and not use it. it was scanning like every single forum page i have. O_o

    6. which file is scanned first by crawlers, robots or .htaccess or sitemap?

    6.a. cause if it's robots. does that mean i should have made a robots file BEFORE making a sitemap so that the sitemap generator skips over the the files i specified in robots? O_o

    6.b. if so. could someone list for me the most common useless pages i can exclude from my forum? or any directory you think i should exclude that might pose a security risk? i'd very much appreciate that as i would like to completely redo my robots.txt especially since i might have to adjust it for the new url's that vbseo made which are nice and much shorter.


    7. i only need ONE robots.txt file right? and it always goes to root right? (not forum root)

    8. but i can have multiple .htaccess? do i have to or just if i wanted to? (one for root, one for forum root?)


    9. i think i had more q's but i forgot. i'm sorry for having so many. i tried to find the answers to most of these in older threads but i kept getting mixed suggestions. some would say something. and others would have yet more to say. not neccisrily conflicting advice, but maybe. and i didn't know which to believe/follow.


    thank you very much in advanced. i just wnna get rid of the doubts in my head so i can start making real progress, and not have so many questions next time i get stuck.

    thanks again.
    1) I answered
    2) What I told you should have fixed that
    3) What I told you should have fixed that
    4) I would add make your htaccess have at least this in it:

    Code:
    RewriteCond %{HTTP_HOST} !^yoursite.com
    RewriteRule (.*) http://www.yoursite.com/$1 [L,R=301]
    5) Would be good if you had a sitemap also for your main site. Reason being it threads http://mysite.com and http://www.mysite.com differently

    5a) Stays within the root as long as you run the vbseo sitemap generator I believe

    6) Not sure

    7) Not sure on, I just use 1 directory, but assuming you should have 1 in main domain and 1 in forums

    8) 1 .htaccess per folder. Should only really need 2 IMO

    9) Yes alot of questions...lol
    The Forum Hosting - Forum Hosting from the Forum Experts

  5. #5
    Member
    Real Name
    Patrick
    Join Date
    Sep 2007
    Posts
    75
    Liked
    0 times
    ownage. gotta admit. didn't even test the link but i'm glad that little fix will fix most everything. and now that i am more reassured with the importance of those files, i don't have to worry so much anymore.

    somtiems reading things here makes me think certain things are too important to neglect. and i hate worrying about it. so i needed to know "well, if they're so important, what about this and that? and what if i have 2? what should it have?" and so on and so forth.

    well i'm less worried then. i could prolly just leave everything the way it is i guess. on no wait. i forgot i should prolly look over my robots file. i think someone posted theirs once. i'll prolly just copy them. O_o

    thanks again. really appreciate it.

Similar Threads

  1. [HOW-TO] Make your Welcome Headers an image!
    By libertylounge in forum Template Modifications
    Replies: 108
    Last Post: 02-21-2012, 03:46 AM
  2. Replies: 9
    Last Post: 07-15-2006, 11:54 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
  •