Thread: Administrative and Maintenance Tools - vBSEO Google/Yahoo Sitemap Generator
View Single Post
  #211  
Old 06-22-2007, 02:42 PM
Kiros72 Kiros72 is offline
 
Join Date: Apr 2006
Location: Albany, LA - USA
Posts: 215
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice work! Can't wait to see the results! But I have a couple problems...

My website is running vBulletin in a /forums/ folder (ex: http://www.domain.com/forums/) and I have a normal website in my root (not vBadvanced or some other portal). I added my root website to the extra-urls.txt in hopes that it will be added to the sitemap. I also set my root as the Sitemap URL, expecting the sitemaps (or atleast the sitemap index) to be generated in my root (http://www.domain.com/sitemap_index.xml.gz).

Problem part::
I just ran the scheduled task to see if it would generate a new sitemap index in the root and no dice. It didn't even generate it in the default vBulletin directory (/forums/). The only place that it is stored is http://www.domain.com/forums/vbseo_s...p_index.xml.gz.
And now I just got a few errors in my log complaining that there was no file http://www.domain.com/vbseo_sitemap/...getsitemap.php (no /forums/).

So anyone know what's going on?


The problem was that I had to include "forums/" in the .htaccess instead of just "vbseo_sitemap/..." which I didn't realize until I actually took a look at it


But I have another bit... I only want Google and Yahoo! to use the archive, so I disabled use of showthread, showpost, member profiles, etc. and only let the sitemaps include the archive. The reason is that I think that search engines can focus more on the content than menu/other links and plus, Yahoo! Slurps have been creating some decent server load, so I think that it might be better with no advanced GUI. Is this a good idea or not?

And a new problem:

Now that spiders are crawling my archive, some of them are not taking the archive/index.php/ as a directory. I'm getting error logs like "File not found: /forums/archive/f-86.html." I don't want to have to edit the archiving script to include index.php/ in front of every one of its links. I'd much rather use a .htaccess type of thing. Does anyone know how I could do the following in .htaccess?

Redirect anything trying to get a *.html file in the /archive/ directory TO /archive/index.php/%filename%

(Where %filename% is the *.html file that the client was trying to get)

Anyone?
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01137 seconds
  • Memory Usage 1,769KB
  • 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)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