vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Administrative and Maintenance Tools - vBSEO Google/Yahoo Sitemap Generator (https://vborg.vbsupport.ru/showthread.php?t=144730)

iojam 03-10-2008 07:51 PM

You should add your site as http://www.xxxxxx.com/forum in webmaster account and submit http://www.xxxxxx.com/forum/sitemap_index.xml.gz as a sitemap.

Pebbled 03-11-2008 07:04 AM

Hi iojam and thanks for your reply, I was hoping to generate the sitemap from the index page generated by vBadvanced rather than the forum page.

At risk of sounding like a right n00b, why can't the sitemap be generated from the index page, is it really so difficult to adjust the settings?

I've noticed that I can add the string into the robots.txt file to inform search engines where the sitemap is but that doesn't help me with Google Webmaster which is currently looking for the sitemap in the index page - I appreciate what you are saying about adding the http://www.xxxxxx.com/forum in webmaster account and submit http://www.xxxxxx.com/forum/sitemap_index.xml.gz as a sitemap.

Incidentally, is there any benefit to generating the sitemap from the forum page rather the index page created by vBadvanced???

glennybee 03-11-2008 08:19 AM

I have adjusted the .htaccess lines for the /index.php page as follows...

Code:

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

This goes in the .htaccess file in the root of your public_html folder.

This is the .htaccess lines I have in my /forums folder...

Code:

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

Hope this helps. :)

iojam 03-11-2008 07:46 PM

Pebbled,

you can move sitemap to domain root as described in http://www.vbseo.com/wiki/Sitemap:FA...To_Domain_Root

jim6763nva 03-15-2008 11:14 PM

Ok.. I have this installed and all seems to be working. I've generated a sitemap and run the reports. What happens now? :) Should I see magic lights appear and users flock to my site? LOL?

Jim

KeyStalker 03-16-2008 01:55 AM

I installed, can you check if I did it right? www.keystalker.com (I'm 99% sure I did it right).

mariocaz 03-16-2008 06:25 AM

I received by mail the reports of the mod, but I see FAILED in the final parts, check it.

Summary:
============================
Forum Display: 231
Show Thread: 7484
Show Post: 55269
Member Profiles: 1379
Poll Results: 28
Archive: 3954

Total Indexed URLs: 68346
Total Processing Time: 34.10 seconds

Google ping: FAILED.
Yahoo ping: FAILED.
Ask ping: FAILED.
Moreover ping: FAILED

Do I am doing something wrong?, please help me. :confused:

iojam 03-16-2008 03:47 PM

mariocaz,

check the post above in this thread: https://vborg.vbsupport.ru/showpost....&postcount=491

Mark.B 03-16-2008 03:59 PM

Quote:

Originally Posted by jim6763nva (Post 1465723)
Ok.. I have this installed and all seems to be working. I've generated a sitemap and run the reports. What happens now? :) Should I see magic lights appear and users flock to my site? LOL?

Jim

Not quite, but if you hasve submitted your sitemap to Google, Yahoo etc then you should start to see an increase in spidering activity and better indexing of your site in the search engines.

It's not instant though...it can take many months to improve, but it will almost definitely improve.

mariocaz 03-16-2008 05:55 PM

Quote:

Originally Posted by iojam (Post 1466220)
mariocaz,

check the post above in this thread: https://vborg.vbsupport.ru/showpost....&postcount=491

I didn?t find this part in my :

Code:

    function vbseo_query_http($url)
    {
..
}


I only found this part:

Code:

        function vbseo_query_http($url)
        {
                return @implode('', file($url));
        }

Is that ok?, to replace it for this part:

Quote:

function vbseo_query_http($url)
{
ini_set('default_socket_timeout', 5);
$purl = parse_url($url);
$connsocket = @fsockopen($purl['host'], 80, $errno, $errstr, 5);
$start = 0;
$timeout = 50;
while($start < $timeout)
{
$start++;
if ($connsocket)
{
$out = "GET ".$purl['path']."?".$purl['query']." HTTP/1.1\n";
$out .= "Host: ".$purl['host']."\n";
$out .= "Referer: http://".$purl['host']."/\n";
$out .= "Connection: Close\n\n";
$inp = '';
@fwrite($connsocket, $out);
while (!feof($connsocket)) {
$inp .= @fread($connsocket, 4096);
}
@fclose($connsocket);
break;
}

}
preg_match("#^(.*?)\r?\n\r?\n(.*)$#s",$inp,$hm);
return $hm[2];
}
Confirm me.

Thank you a lot!! :)


All times are GMT. The time now is 05:45 AM.

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.02161 seconds
  • Memory Usage 1,747KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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