Thread: Administrative and Maintenance Tools - vBSEO Google/Yahoo Sitemap Generator
View Single Post
  #745  
Old 03-20-2008, 10:03 PM
Pebbled Pebbled is offline
 
Join Date: Jul 2005
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Katelynn, I quite understand your comments, it took me some time to figure out what was going on and I'm still not entirely sure!

So, from what I understand, you have your website at www.examplesite.com where your vbadvanced page is displayed, and you have your forums for the site at www.examplesite.com/forums

From what I have read so far is that you have the .htaccess code already installed in the forums folder for rewriting the position of the sitemap - So leave that file where it is

What you need to do is create a new file called .htaccess by duplicating this .htaccess file, then placing it in the root folder, then edit the text within it to display:
Code:
RewriteEngine on
RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ forums/vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]

As to the robots.txt file, this is telling search engine robots where the sitemap is.

After you have added the second .htaccess file into the root folder you can change the text in the robots.txt file to view the file in the new position, namely Sitemap: http://www.mysite.com/sitemap_index.xml.gz

Please note I am on a steep learning curve with this, and don't understand .php coding so have no idea what it all means, all I do know is that Google webmaster tools has located the file and has downloaded it (with an error message), so I've nearly cracked it.

I think the problem with this sitemap generator lies with the instructions which presume that the forum will be in the root of the site, ie on the homepage, rather than in a sub-directory.

Those who understand .php coding don't need instructions, those of us who don't understand .php coding need very precise instructions!

Once you have the Google webmaster account you can see whether Google is encountering any problems with the sitemap
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01059 seconds
  • Memory Usage 1,766KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete