vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   vBSEO Google/Yahoo Sitemap Generator for vBulletin 3.6.x, 3.5.x & 3.0.x (https://vborg.vbsupport.ru/showthread.php?t=100435)

DrewStr 07-19-2006 05:51 AM

Quote:

Originally Posted by Dark Blade
Yes Oleg, I did create the sheduled taks in the Admin CP...

Ok. Don't know if this is anyone else's problem, but the .htaccess file in the download folder and the directions in the readme read as follows:

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

But, since my forum is not at root I had to add the folder where my forum and the sitemapname script files are located (/forum/) to the front of the url like this.

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

Now google is identifying them with a green sitemap tag and says "OK" after it finishes.

4yBak 07-19-2006 04:50 PM

when can you planning port this product to vB 3.6.x ?

Gary King 07-21-2006 01:02 AM

Hi,

http://www.maloria.com/vbseo_sitemap...p_index.xml.gz

shows my sitemap but

http://www.maloria.com/sitemap.xml doesn't.

My .htaccess file contains:

Code:

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

Any suggestions on how I fix it?

ConqSoft 07-21-2006 01:04 AM

The line should be:
Code:

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

iojam 07-21-2006 01:20 AM

Dark Blade,

did you try to generate sitemap manually using vbseo_sitemap/ interface?

GrendelKhan{TSU,

the correct URL is http://www.mysite.com/forums/sitemap_index.xml.gz


4yBak,
it should work correctly with vB3.6.0.

Gary King,
the correct URL is http://www.maloria.com/sitemap_index.xml.gz in your case

GrendelKhan{TSU 07-21-2006 05:06 AM

Quote:

Originally Posted by DrewStr
Ok. Don't know if this is anyone else's problem, but the .htaccess file in the download folder and the directions in the readme read as follows:

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

But, since my forum is not at root I had to add the folder where my forum and the sitemapname script files are located (/forum/) to the front of the url like this.

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

Now google is identifying them with a green sitemap tag and says "OK" after it finishes.

woot! that did it for me!! :D thanks!



I think the Read Me or posts here should reflect that the .htaccess files needs to reflect the path to the file on one's server, like if you do not have your forums in the root folder (ie: in a "forum" folder). Everyone was just saying "copy this htaccess exactly"....and since I don't really know how to read that code, I glazed over it.

DrewStr 07-21-2006 06:21 AM

Quote:

Originally Posted by GrendelKhan{TSU
woot! that did it for me!! :D thanks!



I think the Read Me or posts here should reflect that the .htaccess files needs to reflect the path to the file on one's server, like if you do not have your forums in the root folder (ie: in a "forum" folder). Everyone was just saying "copy this htaccess exactly"....and since I don't really know how to read that code, I glazed over it.

Yes, it confused me too. Until I actually bothered to look at the code and try to figure out what was going on. The documentation should definitely be cleaned up a bit.

Don't know much about sitemaps, but they sure do look nice.

Thanks to the developers for all of their work on this!

Snake 07-21-2006 12:53 PM

Quote:

Originally Posted by iojam
Dark Blade,

did you try to generate sitemap manually using vbseo_sitemap/ interface?

GrendelKhan{TSU,

the correct URL is http://www.mysite.com/forums/sitemap_index.xml.gz


4yBak,
it should work correctly with vB3.6.0.

Gary King,
the correct URL is http://www.maloria.com/sitemap_index.xml.gz in your case

Nop as I don't have a clue to do that. I'm sorry but I'm kinda new to this hack... :P

libertylounge 07-22-2006 08:53 AM

Which .htaccess should we be using?

Code:

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

Code:

RewriteRule ^(sitemap.*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
What's the difference (aside from the obvious forum/ inclusion if that's where the forum directory is rather than ~/)

Wills123 07-22-2006 12:27 PM

Hi all

I am trying to install the google/yahoo sitemap generator 1.6.1 on vBulletin 3.5.4 and vBSEO 3.0.0 RC3.

When I go to run the vBSEO - Create Google/Yahoo sitemap for the first time, I get

Quote:

[homepage] [0s (+0)]
[SECTION START] forumdisplay [0s (+0)]
[forumdisplay] forum_id: 1, total threads: 0, pages: 1 [0s (+0)]
[forumdisplay] forum_id: 10, total threads: 1, pages: 1 [0s (+0)]
[forumdisplay] forum_id: 2, total threads: 6, pages: 1 [0s (+0)]
[forumdisplay] forum_id: 11, total threads: 0, pages: 1 [0s (+0)]
[forumdisplay] forum_id: 12, total threads: 1, pages: 1 [0s (+0)]
[forumdisplay] forum_id: 13, total threads: 1, pages: 1 [0s (+0)]
[forumdisplay] forum_id: 3, total threads: 0, pages: 1 [0s (+0)]
[forumdisplay] forum_id: 4, total threads: 5, pages: 1 [0s (+0)]
[forumdisplay] forum_id: 15, total threads: 0, pages: 1 [0s (+0)]
[forumdisplay] forum_id: 25, total threads: 1, pages: 1 [0s (+0)]
[forumdisplay] forum_id: 26, total threads: 0, pages: 1 [0s (+0)]
[forumdisplay] forum_id: 7, total threads: 0, pages: 1 [0s (+0)]
[forumdisplay] forum_id: 17, total threads: 1, pages: 1 [0s (+0)]
[forumdisplay] forum_id: 23, total threads: 0, pages: 1 [0s (+0)]
[forumdisplay] forum_id: 9, total threads: 0, pages: 1 [0s (+0)]
[forumdisplay] forum_id: 21, total threads: 1, pages: 1 [0s (+0)]
[forumdisplay] forum_id: 22, total threads: 1, pages: 1 [0s (+0)]
[forumdisplay] forum_id: 6, total threads: 0, pages: 1 [0s (+0)]
[forumdisplay] forum_id: 16, total threads: 0, pages: 1 [0s (+0)]
[forumdisplay] forum_id: 18, total threads: 1, pages: 1 [0s (+0)]
[forumdisplay] forum_id: 5, total threads: 0, pages: 1 [0s (+0)]
[forumdisplay] forum_id: 14, total threads: 0, pages: 1 [0s (+0)]
[forumdisplay] forum_id: 19, total threads: 1, pages: 1 [0s (+0)]
[forumdisplay] forum_id: 20, total threads: 1, pages: 1 [0s (+0)]
[forumdisplay] forum_id: 24, total threads: 1, pages: 1 [0s (+0)]
[forumdisplay] forum_id: 27, total threads: 2, pages: 1 [0s (+0)]
[SECTION START] showthread [0s (+0)]
[archive homepage] [0s (+0)]
[SECTION START] forumdisplay archived [0s (+0)]
[SECTION START] member [0s (+0)]

Warning: gzopen(/home/willba/public_html/vbseo_sitemap/data/sitemap_1.xml.gz): failed to open stream: Permission denied in /vbseo_sitemap/vbseo_sitemap_functions.php on line 413

Warning: gzopen(/home/willba/public_html/vbseo_sitemap/data/sitemap.txt.gz): failed to open stream: Permission denied in /vbseo_sitemap/vbseo_sitemap_functions.php on line 416

Warning: gzwrite(): supplied argument is not a valid stream resource in /vbseo_sitemap/vbseo_sitemap_functions.php on line 424

Warning: gzwrite(): supplied argument is not a valid stream resource in /vbseo_sitemap/vbseo_sitemap_functions.php on line 435

<repeating lines snipped>

Warning: gzwrite(): supplied argument is not a valid stream resource in /vbseo_sitemap/vbseo_sitemap_functions.php on line 435

Warning: gzwrite(): supplied argument is not a valid stream resource in /vbseo_sitemap/vbseo_sitemap_functions.php on line 438

Warning: gzwrite(): supplied argument is not a valid stream resource in /vbseo_sitemap/vbseo_sitemap_functions.php on line 454

Warning: gzclose(): supplied argument is not a valid stream resource in /vbseo_sitemap/vbseo_sitemap_functions.php on line 455
[create sitemap file] filename: sitemap_1.xml.gz, number of urls: 136 [0s (+0)]
[create sitemap in text format] part #1 [0s (+0)]

Warning: filesize(): Stat failed for /home/willba/public_html/vbseo_sitemap/data/sitemap_1.xml.gz (errno=2 - No such file or directory) in /vbseo_sitemap/vbseo_sitemap_functions.php on line 467

Warning: gzclose(): supplied argument is not a valid stream resource in /vbseo_sitemap/vbseo_sitemap_functions.php on line 484

Warning: fopen(/home/willba/public_html/vbseo_sitemap/data/sitemap_index.xml.gz): failed to open stream: Permission denied in /vbseo_sitemap/vbseo_sitemap_functions.php on line 686

Warning: fwrite(): supplied argument is not a valid stream resource in /vbseo_sitemap/vbseo_sitemap_functions.php on line 687

Warning: fclose(): supplied argument is not a valid stream resource in /vbseo_sitemap/vbseo_sitemap_functions.php on line 688
[create sitemap index] filename: sitemap_index.xml.gz, number of sitemaps: 1 [0s (+0)]

Warning: fopen(/home/willba/public_html/vbseo_sitemap/data/1153574601.log): failed to open stream: Permission denied in /vbseo_sitemap/vbseo_sitemap_functions.php on line 545

Warning: fwrite(): supplied argument is not a valid stream resource in /vbseo_sitemap/vbseo_sitemap_functions.php on line 546

Warning: fclose(): supplied argument is not a valid stream resource in /vbseo_sitemap/vbseo_sitemap_functions.php on line 547

Done
Can anyone help me please. I looked at the .htaccess file but it already had the rewrite statement that you are told to enter at the start of this thread.

Does anyone know where I have gone wrong?

Thanks

Will


All times are GMT. The time now is 01:05 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03142 seconds
  • Memory Usage 1,778KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete