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!! :)

iojam 03-16-2008 08:38 PM

Yes, that is correct.

mariocaz 03-16-2008 08:42 PM

Perfect,

Yes now is working!!!

Quote:

Summary:
============================
Forum Display: 231
Show Thread: 7497
Show Post: 55376
Member Profiles: 1379
Poll Results: 28
Archive: 3959

Total Indexed URLs: 68471
Total Processing Time: 23.39 seconds

Google ping: Successful.
Yahoo ping: Successful.
Ask ping: Successful.
Moreover ping: Successful.

And how do you see it ? is working good in my board ??

thank you very much again!!

iojam 03-18-2008 12:07 AM

From the report it looks like sitemap is generated successfully.

mariocaz 03-18-2008 12:35 AM

thank you a lot iojam

jim6763nva 03-19-2008 02:09 AM

Quote:

Originally Posted by Mark.B (Post 1466227)
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.

Cool Beans! ;) Yeah, I've definitely seen a huge increase in spider activity. Lastnight I had 22 spiders on there just crawlin their butts off. lol

Everytime something is updated on the site now, another spider jumps on there. The only problem I'm having is I can't seem to upload my sitemap to Google or Yahoo. Seems they are expecting an xml file and all I see are compressed files sitting on my site.


Jim

iojam 03-19-2008 09:23 PM

Both Google and Yahoo support gzipped xml sitemaps, what is the error you get when submitting http://yourforumsroot/sitemap_index.xml.gz ?

Pebbled 03-20-2008 07:53 AM

Thanks iojam, I've finally gotten it working from the homepage rather than the forum after a bit of help from my hosting company who took a look at what I had done and moved the .htaccess file as per your instructions to the forum like you said :o

Then I added ANOTHER .htaccess file in the root folder using the following code (as you suggested) :o

Code:

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

(NOTE: change the forums/ to whatever you are using and NOT the whole domain name)

Once I did this I went into the ADMIN CP > vBSEO Google/Yahoo Sitemap Generator and added the Sitemap Files URL to http://www.example.com then regenerated the sitemap

Have also gone to the Google Webmaster tools site and added the URL successfully using http://www.example.com/sitemap_index.xml.gz

I was originally failing because I was missing the point that I needed an .htaccess file in both the forum AND the root folder for this to work. :eek:

Pebbled 03-20-2008 08:10 AM

One question regarding the robots.txt file

In my particular instance where the sitemap is to all intensive purposes for the search engines in the root directory so that the sitemap starts from the homepage and not the directory http://www.examplesite.com/sitemap_index.xml.gz

Do I add the line of code at the bottom of the robots.txt file to read:

Sitemap: http://www.examplesite.com/sitemap_index.xml.gz

To anyone wondering why I wish to add the sitemap position in the robots.txt file, this is a way to tell the search engines where the sitemap is if you have one.

Pebbled 03-20-2008 11:13 AM

OK then, I've submitted the sitemap to Google webmaster central and have received this message:
-------------------------------------
Sitemap summary

Sitemap type: Web
Submitted 20-Mar-2008
Last downloaded by Google 20-Mar-2008
Total URLs in Sitemap 30173
Indexed URLs in Sitemap: No data available. Please check again soon.
Sitemap errors and warnings
No errors or warnings found.

Sitemap included in this sitemap index
1 - 2 of 2
Filename Status
sitemap_1.xml.gz - Errors Details
sitemap_2.xml.gz - OK Details
------------------------------------
When I click on the errors report it says:

Line Status Details
Details 15 Invalid URL
This is not a valid URL. Please correct it and resubmit. Help
URL:
Parent tag:
Tag:
Found: /public_html/forum/vbseo_sitemap/data
url
loc
20-Mar-2008
--------------------------------------
Any ideas why sitemap_2.xml.gz is OK but sitemap_1.xml.gz shows this error?

GTX2 03-20-2008 01:13 PM

i'm always getting this error when browsing www.mydomain.com/vbseo_sitemap:

Quote:

Fatal error: Call to undefined function vbseo_startup() in /home/user/public_html/vbseo_sitemap/vbseo_sitemap_functions.php on line 56
Tried to disable vbseo but problem persist. Tried to change the previous suggestion of blog.php, but nothing:

Find:
Quote:

vbseo_add_url(vbseo_any_url($vbseo_vars['bburl'].'/blog.php') , 1.0);
Replace with:
Quote:

vbseo_add_url(VBSEO_ON ? vbseo_any_url($vbseo_vars['bburl'].'/blog.php') : $vbseo_vars['bburl'].'/blog.php', 1.0);
Any hint?

Katelynn 03-20-2008 07:38 PM

I posted this in another thread related to this MOD, but it doesn't really have responses there ... so if you don't mind I am going to repost here because I would really like to figure this out with peoples help :)

Here is my post:
---
Great MOD!

Question? Can I use this to create a sitemap for my whole site? I am a bit confused ...
I am using vbAdvanced (as my root) and vBulletin as my root/forum

I have this working for my forum, and seems to be working, but when I do searches for things that I "should" be pulling up in google, they aren't showing up? It has been about two weeks since I have been submitting these sitemaps.

I am wondering, do I need to submit a sitemap for my root folder as well?? (This mod seems to only make a sitemap for the http://www.mysite.com/forum and not for the root section http://www.mysite.com)

I guess that is where I am confused because I am thinking that this mod created a sitemap ONLY for the vBulletin forum. (http://www.mysite.com/forum)

When I have vbAdvanced in the /root (http://www.mysite.com)

and I would like to create a sitemap for the entire site? Even though I don't have toooooo much yet in the front page (aka vbAdvanced)

Let me know please ... thank you very much! :D

Pebbled 03-20-2008 08:02 PM

Katelynn, first off, take a look at, and sign up to Google Webmaster Central which can be accessed from this link http://www.google.com/webmasters/ from here, click on 'Sign in to Webmaster tools'.

Once you have submitted your domain and sitemap you will learn all kinds of stuff and errors that Google is encountering when visiting your site, along with tons of other really useful stuff!

As to the sitemap stuff from your vbadvanced homepage (which is the same scenario as mine), you will need to add another .htaccess file into the root folder with the following details:

Code:

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

And pay particular attention to forums/ because you may need to change this to 'forum' or whatever variation you are using to access your forum.

Please note that I'm still awaiting a reply back from vbSEO as regards the error Google has picked up on with the sitemap URL errors!

Katelynn 03-20-2008 08:20 PM

Thanks for the quick reply!

Cool, you have the same setup as me, so you understand what I am trying to do!
- root is http://www.mysite.com (vbAdvanced)
- forum is http://www.mysite.com (vBulletin)

When you say add "Another" .htaccess file into the root folder you mean one similar to the .htaccess file in my root/forum directory? accept with the changes you made above?

This is where I get confused ... I have this .htaccess file in my root/forum folder
Code:

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

What about the robots.txt file in my root folder? Should I add anything to that for the sitemap? I already have this at the bottom of my robots.txt file
Code:

Sitemap: http://www.mysite.com/forum/sitemap_index.xml.gz
Thanks!!

Pebbled 03-20-2008 10:03 PM

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

wii 03-21-2008 12:18 AM

How do I include my vBadvanced and vBgallery pages to the sitemaps ?

Thanks

Katelynn 03-21-2008 12:32 AM

Yes, you assume right about how I have my site setup:
www.mysite.com is vbadvanced
www.mysite.com/forum is vbulletin

Thank You for your input Pebbled ... I am trying your advice ... I am wondering if I should only be generating the ONE sitemap for the main page? Cuz in google webmaster tools, i essentially have TWO(2) sitemaps for www.mysite.com and www.mysite.com/forum but they are the exact same file?

Anybody have any input on this? I need to increase my rankings, and not quite sure how to do it ... with this setup!?

Thanks soooooo much!

Katelynn 03-21-2008 12:34 AM

Quote:

Originally Posted by wii (Post 1470257)
How do I include my vBadvanced and vBgallery pages to the sitemaps ?

Thanks

Yes, that is what I want to know!!! :)

My vBadvanced is my ROOT site www.mysite.com
and my forum is www.mysite.com/forum

This MOD is FANTASTIC by the way!!! I LOVE IT! That is why I want to get it working with my ROOT location / vbAdvanced

Thank YOU!!!:D

Katelynn 03-21-2008 01:09 AM

Quote:

Originally Posted by Katelynn (Post 1470265)
Yes, you assume right about how I have my site setup:
www.mysite.com is vbadvanced
www.mysite.com/forum is vbulletin

Thank You for your input Pebbled ... I am trying your advice ... I am wondering if I should only be generating the ONE sitemap for the main page? Cuz in google webmaster tools, i essentially have TWO(2) sitemaps for www.mysite.com and www.mysite.com/forum but they are the exact same file?

Anybody have any input on this? I need to increase my rankings, and not quite sure how to do it ... with this setup!?

Thanks soooooo much!

I am concerned about the above post ... will having this setup hurt my google rankings?
... cuz I have two sitemaps submitted for ROOT and for FORUM but they are identical sitemaps created by this mod.

Sorry to sound so new, I am just not sure of the proper way to get my site in the search engines properly.

Thanks

Pebbled 03-21-2008 06:45 AM

Katelynn, I think you will find that you have two sitemaps after following the above because each has a upper limit of 20,000 URL's, so the overspill goes into the second sitemap, etc. if you take a close look at the numbers you will probably see 19,999 in the first.

My stats which I received in an email state:

Summary:
===============
Forum Display: 403
Show Thread: 9262
Show Post: 11232
Member Profiles:
Poll Results: 13
Archive: 9308

Total Indexed URLs: 30220
Total Processing Time: 38.56 seconds

Google ping: Successful.
Yahoo ping: Disabled.
----------------------------
Also note, the 2nd piece of code merely rewrites to the 1st - As far as I'm aware you're not actually creating a duplicated sitemap.

Like I said, if you have Google Webmaster installed it will tell you about any problems it's encountering - I'm still waiting for some advice from vBSEO ref the following error:

Sitemap included in this sitemap index
1 - 2 of 2
Filename Status
sitemap_1.xml.gz - Errors Details
sitemap_2.xml.gz - OK Details

When I click on the errors report it says:

Line Status Details
Details 15 Invalid URL
This is not a valid URL. Please correct it and resubmit. Help
URL:
Parent tag:
Tag:
Found: /public_html/forum/vbseo_sitemap/data
url
loc
20-Mar-2008

Katelynn 03-22-2008 02:15 AM

Guyz, I am having trouble ... I have been using this mod for 3 weeks+ now and my site is just not getting into google search engine. I search for words I KNOW are in my forum and they are not coming up in google?

They are not coming up in Yahoo either ...

What am I doing wrong with this MOD?

I have 1000 members on my site and almost 40000 urls that the sitemap is generating, off my forum.

Thanks for any help ... Please see my posts above to explain my setup (which is vbAdvanced ROOT and vBulletin FORUM)

Cheers!

iojam 03-23-2008 11:38 PM

Katelynn,

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

Pebbled,

what is the sitemap URL you submit?

Pebbled 03-25-2008 07:43 AM

The sitemap I'm submitting to Google is http://www.example.com/sitemap_index.xml.gz

Where obviously the only piece Google ask for in their input box is after the /

as in sitemap_index.xml.gz

I don't understand why it's only the 1st sitemap generated which displays errors and not the 2nd?

Like I say, I'm not a php coder :(

Katelynn 03-25-2008 06:38 PM

Quote:

Originally Posted by iojam (Post 1472893)
Katelynn,

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

Pebbled,

what is the sitemap URL you submit?

THANK you iojam ...

I Created .htaccess in domain root: (with the code)
Code:

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

I defined "Sitemap Files URL" option in vBSEO Sitemap Generator configuration to: "http://www.mysite.com"

And I then reopened the sitemap generator on my site and re-generated the sitemap.

Now for Google Web Master Tools, do I setup ONLY the one sitemap for /ROOT? Or should I have one for both sitemaps?
One for /ROOT http://www.mysite.com
and One for /FORUMROOT http://www.mysite.com/forum

I have my robot.txt file pointing to my sitemap in the "ROOT" location ... I hope that is right?

Thanks for the help! Trying to get those Threads and Posts listed in MSN, Google, and Yahoo so I can get some people to start really finding my site! ;)

Katelynn 03-25-2008 06:54 PM

Should I remove .htaccess information pointing to my forumROOT? sitemap generator?

Sorry for so many questions, thanks for the help!

Thanks

Super Jinni 03-27-2008 06:04 AM

Hi,

I hope you can help me with this

I've installed vBSEO Google/Yahoo Sitemap Generator v.2.1 in my vbulletin

and I did everything as mentioned in the Installation Instructions

and everything went but

when I go to add my sitemap in google webmaster tools it gives me this error:

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.



I don't know what's wrong and I hope someone can tell me how to get over this issue

I've installed this in another website and everything went ok and I hadn't any problem with it and it works just great and a few days later I installed it to my other website but I have this problem...

why do I have this problem with my new website and I didn't have it in my first one?

any idea about how I can fix this, please? because this problem is reall driving my crazy


thank you

Gosef 03-27-2008 07:53 AM

thank you

Pebbled 03-27-2008 02:26 PM

Super Jinni,

What URL did you submit to Google?

Was it the same as mine, i.e. sitemap_index.xml.gz

iojam 03-27-2008 09:08 PM

Katelynn,

you can keep a sitemap in your domain root only now.

Super Jinni,

make sure that you created .htaccess file and that your server supports mod_rewrite.

Pebbled,

I meant what exactly is your (real) sitemap URL, including domain name? You can PM it to me so that I can check it.

Super Jinni 03-29-2008 01:02 AM

Quote:

Originally Posted by iojam (Post 1476229)

Super Jinni,

make sure that you created .htaccess file and that your server supports mod_rewrite.

thanks for your reply iojam

I've uploaded the .htaccess as mentioned in the installation instructions

and I believe that the service supports mod_rewrite because that already works with my first website just a few days before I installed the vbseo generator in the second website.. both websits are in the same server..

I don't know what's wrong.. and I hope you can really help me with this and solve this problem I face...

it's really driving me mad...

:erm:

Super Jinni 03-29-2008 01:27 AM

Quote:

Originally Posted by Pebbled (Post 1475905)
Super Jinni,

What URL did you submit to Google?

Was it the same as mine, i.e. sitemap_index.xml.gz

not exactly

after I generated it it gave me url like this

www.mysite.com/forum/sitemap_index.xml

no gz in the end

and I've tried both with gz and without it

and every time tells that sitemap file not found...


I don't know what's worng...


All times are GMT. The time now is 08:06 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.02380 seconds
  • Memory Usage 1,875KB
  • 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
  • (10)bbcode_code_printable
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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