View Single Post
  #1447  
Old 02-14-2007, 07:34 AM
shaynehammy shaynehammy is offline
 
Join Date: Jan 2006
Posts: 217
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by quadinfotech View Post
I installed this product on 3.6.4 with no problems whatsoever,
I have installed vbulletin in /forum folder and I'm also running vbadvanced in the root,

to get this to work properly there's only one change that had to be done in the .htaccess file. You need to add these lines to your .htaccess file in your public_html root not your forum root,

public_html/.htaccess file should have these two lines:

Code:
RewriteEngine On
RewriteRule ^(sitemap.*\.(xml|txt)(\.gz)?)$ forum/vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
if you have installed your vbulletin in any other folder just replace that with "forum" in the line above.

If you have installed your vbulletin forum in your public_html root then you don't need any modifications to be made. the included .htaccess file will work just fine.

when you go to google to add your site you need to add the domain and not the domain + forum folder, so yours will look like this:

Code:
http://www.yourdomain.com
again do not add the "/forum" to the end of this address.

Now you wanna add your site map enter this line but replace "yourdomain.com" with your own address:

Code:
http://www.yourdomain.com/sitemap_1.xml.gz
when google searches for that file in that address your .htaccess file will redirect its request to the appropriate location which is
Code:
http://www.yourdomain.com/forum/vbseo_sitemap/sitemap_1.xml.gz
I hope this helps clear out some of the confusion out there and maybe the writers can add this bit to their description on the first post if it's valid.
also would help to mention that this works for 3.6.x as well,
Thank you for sharing this wonderful mod.

I did exactly as you said. I'm just a little confused as to how the gz files move from vbseo_sitemap/data to vbseo_sitemap/ Do we manually have to move them ourselves?

Edit. Another question. Getting this error from Google

Quote:
General HTTP error: 404 not found
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.

Trying to add the sitemap http://www.thechiefbaboon.com/sitemap_index.xml.gz
I definitely added my top domain to google as my forum is installed under /forums. I edited .htacess to include "forums" in it as you said above. Anyone any ideas please?
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01115 seconds
  • Memory Usage 1,777KB
  • 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
  • (4)bbcode_code
  • (2)bbcode_quote
  • (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