vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Board Optimization - vBSEO Search Engine XML Sitemap (https://vborg.vbsupport.ru/showthread.php?t=253516)

eng999 11-20-2010 03:36 PM

how can i make topics will be always in sitemap without i make run sitemap after every topic???

mradlin 11-20-2010 03:51 PM

Installed.
Thanks

lodos0677 11-20-2010 07:18 PM

installed.Very good.

idwpub 11-21-2010 03:41 AM

I've installed and i'm getting the following when I run the generator -

Quote:

Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /xxxx/xxxx/public_html/mysite/forum/global.php(28) : eval()'d code on line 58

LbR 11-21-2010 07:37 AM

Brilliant thing way way better then default module of vBulletin :) VBSEO rocks

ijob 11-21-2010 01:16 PM

I dont understand, surely it would take a few weeks at least to see an improvement before people here celebrate this plugin? Or maybe I'm just a bit scared about switching the VB default sitemap generator off ;)

Leica.Robbiani 11-21-2010 06:36 PM

Hi there,

for now there seems to be another problem:

Code:

Search Engines Pings

Google        FAILED
Bing        Successful
Yahoo        FAILED
Ask        Successful

Best regards

L.R.

muratcan25 11-21-2010 08:06 PM

thank you

Teascu Dorin 11-21-2010 09:23 PM

Thank You for this.
I believe if I also have the vBSEO this is an addon not a replacer!?

briansol 11-21-2010 11:28 PM

Quote:

Originally Posted by ijob (Post 2124186)
I dont understand, surely it would take a few weeks at least to see an improvement before people here celebrate this plugin? Or maybe I'm just a bit scared about switching the VB default sitemap generator off ;)

The vB default sitemap does not include all areas. This one does. You should NOT run both.

Pick which ever works for you and your site.


Quote:

Originally Posted by Leica.Robbiani (Post 2124313)
Hi there,

for now there seems to be another problem:

Code:

Search Engines Pings

Google        FAILED
Bing        Successful
Yahoo        FAILED
Ask        Successful

Best regards

L.R.

Please try running again manually. If these continue to fail, please make sure your server supports CURL and SSL methods as well as XML-RPC.

Quote:

Originally Posted by dorin2oo7 (Post 2124414)
Thank You for this.
I believe if I also have the vBSEO this is an addon not a replacer!?

This is the same product as available for vbseo customers in the download area. If you've already installed, there is no need to do so again.

briansol 11-22-2010 12:05 AM

Quote:

Originally Posted by Jigsaw! (Post 2123251)
The .htaccess file is located in the root of my vBulletin, in vbseo_sitemap/data i cannot access it the htaccess file says "deny from all" checked in notepad.


do not touch the data/ htaccess file. That is there for security reasons since it is a writable folder.

where showthread.php is, the htaccess file should be placed in the same location.

briansol 11-22-2010 12:08 AM

Quote:

Originally Posted by Jigsaw! (Post 2123330)
All done, but still the same thing, i edited the .htaccess in the data folder and set the folder to 777, should i also recurse in sub directories too?, I uploaded everything the htaccess folder into root, includes and vbseo_sitemap folder, everything is working fine, apart from the sitemap links showing me a 404 error.

Assuming an apache DSO instance of php,
the data FOLDER should be 777. The items contained with it should be 644.
If you're on fast cg, etc, your items may be marked differently, perhaps 640. Consult your host for more info on proper security settings for files.

do not upload the htaccess FOLDER.
upload the .htaccess FILE in the htacces FOLDER to your site root, as outlined in the instructions.

There are 10 different webserver rewrite modules in the folder.... if you're on apache, you need to .htaccess one.

briansol 11-22-2010 12:09 AM

Quote:

Originally Posted by jarni (Post 2123627)
Im having the same problem for some reason it always thinks that my sitemap is in Sitemap Index: http://m2mscoop.com/forum/sitemap_index.xml.gz

As my forum is in my root directory, that folder doesn't even exist. Is there a way to have the sitemap installed into my root directory? I think it worked 1 time but never since then.


Check that your vboptions -> vbseo sitemap options -> Sitemap Files url is left BLANK.

99.99% of the time, this should be left blank.

briansol 11-22-2010 12:12 AM

Quote:

Originally Posted by eng999 (Post 2123898)
how can i make topics will be always in sitemap without i make run sitemap after every topic???


you don't. It's designed to be run once a day, per the task.


You can run it multiple times a day by altering the scheduled task, but this is not recommended and un-necessary. Bots will still crawl your site and find new links. This just helps gets the deep linked pages (like, page 6 that doesn't have a link from the thread start on a 10 page thread) noticed and followed.

Remember, the sitemap is only a guideline of urls to visit. It is not a be-all "bots will only visit" list.

briansol 11-22-2010 12:14 AM

Quote:

Originally Posted by idwpub (Post 2124074)
I've installed and i'm getting the following when I run the generator -

Please try re-FTP'ing all files again and re-import the product with over-write.

Please try disabling all other plugins any try to run it again. If it runs, re-enable one at a time and re-run until it doesn't work anymore, and you have found the conflicting plugin to report to us.

briansol 11-22-2010 12:16 AM

Quote:

Originally Posted by cdement (Post 2123091)
It is working just great now! Only other problem I seem to run into is the medialibrary add-on. I also use the vba add-on as well but it doesn't seem to matter if I have them both in the add-on setting box in the options or just have medialibrary only in there. I get a sitemap error that looks something like this:

Code:

The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.


--------------------------------------------------------------------------------

A semi colon character was expected. Error processing resource 'http://MYSITE.com/vbseo_sitemap/vbseo_getsitemap.php?s...

  <loc>http://MYSITE.com/media.php?do=details&mid=1</loc>
--------------------------------------------...

Have any ideas what I could be doing wrong or if there is something to correct?


& should be &amp; in xml. The add-on is incorrect and should be edited.

Note, the addons folder is mostly user-generated from vbseo users, who thus make pretty urls like media/media-title/ and never print dynamic urls to the sitemap for non-vbseo customers.

cdoyle 11-22-2010 12:34 AM

I'm trying to add the sitemap to google tools, but it doesn't seem to be working.

The path should be
forums/vbseo_sitemap/data/sitemap_index.xml.gz

right?

I get this error
General HTTP error: HTTP 403 error (Forbidden)
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.

briansol 11-22-2010 12:35 AM

Quote:

Originally Posted by lgnd (Post 2123216)
Thanks for the upgrade!
Ran into the following error, disabled the tags and now it's working!

Code:

Database error in vBulletin 4.0.8:

Invalid SQL:

          SELECT COUNT(*) as cnt,max(lastpost) as lastupdate
          FROM vbulletinthread AS thread
          INNER JOIN vbulletintagcontent AS tagcontent ON
          (tagcontent.tagid = 356 AND tagcontent.contentid = thread.threadid)
          WHERE thread.forumid IN()
          AND thread.visible = 1
          AND thread.sticky IN (0, 1)
          AND thread.open <> 10
          GROUP BY tagcontent.tagid;

MySQL Error  : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')
          AND thread.visible = 1
          AND thread.sticky IN (0, 1)' at line 5
Error Number  : 1064
Request Date  : Wednesday, November 17th 2010 @ 06:45:43 PM
Error Date    : Wednesday, November 17th 2010 @ 06:45:43 PM
Script        : http://www.honda-legend.hu/vBulletin/vbseo_sitemap/vbseo_sitemap.php
Referrer      : http://www.honda-legend.hu/vBulletin/vbseo_sitemap/index.php?rlist=true
IP Address    : 81.183.89.39
Username      : Nem regisztr?lt
Classname    : vB_Database
MySQL Version :



WHERE thread.forumid IN()

should have a group of fourms in there.

ie,

WHERE thread.forumid IN(1,2,3)


is tag id 361 in a public forum?

you can run a manual query in phpmyadmin to find the theread:
SELECT *
FROM tagcontent
where tagid = 361


that should give you the postid that you can then find (content ID)

briansol 11-22-2010 03:37 AM

Quote:

Originally Posted by cdoyle (Post 2124473)
I'm trying to add the sitemap to google tools, but it doesn't seem to be working.

The path should be
forums/vbseo_sitemap/data/sitemap_index.xml.gz

right?

I get this error
General HTTP error: HTTP 403 error (Forbidden)
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.

No, you should add the htaccess file (or add the rule to your existing file) and submit

Code:

http://www.site.com/forums/sitemap_index.xml.gz
The data/ folder is NOT directly accessible for security reasons (since it's writable, not being callable stops any rogue scripts from running).

SEW810 11-22-2010 04:14 AM

Hello

Maaaan, here I go again.

My password is defined. Now, when I try to http://www.mysite.com/my_vb_path/vbseo_sitemap/ it request me a user name.

Hell, I've tryed with my nick name, "admin" word, and nothing works.
What easy thing am I doing wrong?

Regards

http://www.seusers.com/vbulletinrepo...o_site_map.jpg

briansol 11-22-2010 04:34 AM

Hello,

that is not coming from vbseo.

that's an IIS issue of folder protection or some other mod_xxxxx filter on your webserver for trying to LOAD the file. check that it has the proper 'chmod for windows' (whatever it is.. i'm not a server guy, especially windows) on the folder.

You should see a simple webpage login prompt, as per
http://www.vbseo.com/vbseo_sitemap/

SEW810 11-22-2010 04:42 AM

Quote:

Originally Posted by briansol (Post 2124526)
Hello,

that is not coming from vbseo.

that's an IIS issue of folder protection or some other mod_xxxxx filter on your webserver for trying to LOAD the file. check that it has the proper 'chmod for windows' (whatever it is.. i'm not a server guy, especially windows) on the folder.

You should see a simple webpage login prompt, as per
http://www.vbseo.com/vbseo_sitemap/



Ok, fixed.

Wrong read/write permissions :p

Thnx , its working good.

besedka 11-22-2010 08:35 AM

Quote:

Originally Posted by MARCO1 (Post 2121797)
Hello,

What's the database error details ? You can view the database error details from page source


That's the URL of your sitemap

Code:

http://www.sitename.com/sitemap_index.xml.gz
Change sitename.com/ with your forum URL

So you should add this URL to your google webmaster account :
Code:

sitemap_index.xml.gz
Also you can found your sitemap URL in vbseo sitemap generator reports panel "www.sitename.com/vbseo_sitemap/"
At the top right of the page.



Please check this post : https://vborg.vbsupport.ru/showpost....7&postcount=36

there is no details

MARCO1 11-22-2010 10:29 AM

Quote:

Originally Posted by besedka (Post 2124562)
there is no details

If you got database error, Then just copy and paste the page source content here and we will get the details from it :)

cdement 11-22-2010 12:21 PM

Quote:

Originally Posted by briansol (Post 2124470)
& should be &amp; in xml. The add-on is incorrect and should be edited.

Note, the addons folder is mostly user-generated from vbseo users, who thus make pretty urls like media/media-title/ and never print dynamic urls to the sitemap for non-vbseo customers.

Corrected this and now I must say this mod is absolutely perfect! Thank you for this mod!

fluidswork 11-22-2010 01:35 PM

This is something i would like to use it on my site .............

godarmy 11-22-2010 05:54 PM

still error 500

PHP Code:


chmod 
-R 777 /home/test/public_html/vbseo_sitemap/*

.htaccess

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

please guide step by step to vbull 4.08 run nginx server

thanks for helper.

briansol 11-22-2010 08:41 PM

Quote:

Originally Posted by Wajdan (Post 2123132)
See attached file... I am running 4.0.8PL1
--
This does not include forums in the sitemap. It only has threads. Thanks

Hello, please modify vbseo_sitemap_functions.php file:
find:
Code:

$forumcache = $vbulletin->forumcache;
add below:
Code:

$g_cache['forum'] = &$forumcache;

briansol 11-22-2010 08:43 PM

Quote:

Originally Posted by godarmy (Post 2124735)
still error 500

PHP Code:


chmod 
-R 777 /home/test/public_html/vbseo_sitemap/*

.htaccess

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

please guide step by step to vbull 4.08 run nginx server

thanks for helper.

nginx doesn't support .htaccess... that is an apache directive. You need to find the nginx file in the htaccess folder and add it into your nginx config file on your server.

Further, this file should NOT be 777. i don't know why people keep doing this. Only the /DATA and hits/ folder needs to be 777.

briansol 11-22-2010 08:47 PM

Quote:

Originally Posted by besedka (Post 2124562)
there is no details

Hello,

You need to be more specific about the EXACT error you are receiving so we can help.

cdoyle 11-22-2010 09:40 PM

Quote:

Originally Posted by briansol (Post 2124517)
No, you should add the htaccess file (or add the rule to your existing file) and submit

Code:

http://www.site.com/forums/sitemap_index.xml.gz
The data/ folder is NOT directly accessible for security reasons (since it's writable, not being callable stops any rogue scripts from running).

I don't have this file within my forum directory?
I get the email each night saying that the sitemap was submitted succesfully so I think it's working. but where else could this file be? that I need to direct google tools too?

godarmy 11-23-2010 03:16 AM

Quote:

Originally Posted by briansol (Post 2124779)
nginx doesn't support .htaccess... that is an apache directive. You need to find the nginx file in the htaccess folder and add it into your nginx config file on your server.

Further, this file should NOT be 777. i don't know why people keep doing this. Only the /DATA and hits/ folder needs to be 777.

now iam set in /etc/nginx/vhosts

this my configuration but still error if service nginx restart
mybey some wrong..

test.com

HTML Code:

server {
          error_log /var/log/nginx/vhost-error_log warn;
          listen 11.14.230.194:80;
          server_name test.com www.test.com;
          access_log /usr/local/apache/domlogs/test.com-bytes_log bytes_log;
          access_log /usr/local/apache/domlogs/test.com combined;
          root /home/test/public_html;
          location / {
          try_files $uri @backend;
          }
          location @backend {
          internal;
          proxy_pass http://11.14.230.194:8081;
          include proxy.inc;
          }
          location ~ .*\.(php|jsp|cgi|pl|py)?$ {
          proxy_pass http://11.14.230.194:8081;
          include proxy.inc;
          }
          location ~ .*\.(asp|aspx)?$ {
          deny all;
          }
          location ~ /\.ht {
          deny all;
          }
          location ~ ^/home/test/www/vbseo_sitemap/data/ {
          deny all;
          }
          location ~ ^/home/test/www/ {
          rewrite ^/((urllist|sitemap).*\.(xml|txt)(\.gz)?)$ /vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 last;
          }
        }

thanks for helper. :D:D:D

briansol 11-23-2010 03:33 AM

Quote:

Originally Posted by cdoyle (Post 2124798)
I don't have this file within my forum directory?
I get the email each night saying that the sitemap was submitted succesfully so I think it's working. but where else could this file be? that I need to direct google tools too?

The data writes to the vbseo_sitemap/data/ folder.

The htaccess file directs the link to load that location.

calling sitemap_index.xml.gz actually calls vbseo_sitemap/data/getsitemap.php?sitemap=index.xml.gz by way of the htaccess file.


Google wants your urls to reflect the folder it is in. So, unless you want to make your whole public html area writable (a stupid and horrible idea), using mod_rewrite is the way to do it.

briansol 11-23-2010 03:38 AM

Quote:

Originally Posted by godarmy (Post 2124868)
now iam set in /etc/nginx/vhosts

this my configuration but still error if service nginx restart
mybey some wrong..

test.com

HTML Code:

server {
          error_log /var/log/nginx/vhost-error_log warn;
          listen 11.14.230.194:80;
          server_name test.com www.test.com;
          access_log /usr/local/apache/domlogs/test.com-bytes_log bytes_log;
          access_log /usr/local/apache/domlogs/test.com combined;
          root /home/test/public_html;
          location / {
          try_files $uri @backend;
          }
          location @backend {
          internal;
          proxy_pass http://11.14.230.194:8081;
          include proxy.inc;
          }
          location ~ .*\.(php|jsp|cgi|pl|py)?$ {
          proxy_pass http://11.14.230.194:8081;
          include proxy.inc;
          }
          location ~ .*\.(asp|aspx)?$ {
          deny all;
          }
          location ~ /\.ht {
          deny all;
          }
          location ~ ^/home/test/www/vbseo_sitemap/data/ {
          deny all;
          }
          location ~ ^/home/test/www/ {
          rewrite ^/((urllist|sitemap).*\.(xml|txt)(\.gz)?)$ /vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 last;
          }
        }

thanks for helper. :D:D:D

an nginx sample would be:
Code:

location /forums/ {

rewrite ^/forums/((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ /forums/vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 last;
}

i'm not very familiar with this webserver, but you seem to be using ~'s and i'm not sure why.

SEW810 11-23-2010 04:05 AM

Still working on vb 4.0.8 pl 2

Installed and Nominated !!!

Tahooma 11-23-2010 10:58 AM

do you send only the index file to google or all "single" sitemaps ?

besedka 11-23-2010 12:32 PM

Quote:

Originally Posted by MARCO1 (Post 2124589)
If you got database error, Then just copy and paste the page source content here and we will get the details from it :)

this just come to me

PHP Code:

[SECTION STARTshowthread [12,323.3Kb mem used] [1,517s (+1,476s)] 

Database error 

The 
&#1588;بكة نادي العائلة | WWW.FAMILYKLUB.COM database has encountered a problem. 
Please try the following

    * 
Load the page again by clicking the Refresh button in your web browser
    * 
Open the www.familyklub.com home pagethen try to open another page
    * 
Click the Back button to try another link

The www.familyklub.com forum technical staff have been notified of the errorthough you may contact them if the problem persists
  
We apologise for any inconvenience


briansol 11-23-2010 11:01 PM

Quote:

Originally Posted by Tahooma (Post 2124946)
do you send only the index file to google or all "single" sitemaps ?

just the index. the index is just that, an index, and has a pointer to all created data sitemap files.

Quote:

Originally Posted by besedka (Post 2124962)
this just come to me

PHP Code:

[SECTION STARTshowthread [12,323.3Kb mem used] [1,517s (+1,476s)] 

Database error 

The 
&#1588;بكة نادي العائلة | WWW.FAMILYKLUB.COM database has encountered a problem. 
Please try the following

    * 
Load the page again by clicking the Refresh button in your web browser
    * 
Open the www.familyklub.com home pagethen try to open another page
    * 
Click the Back button to try another link

The www.familyklub.com forum technical staff have been notified of the errorthough you may contact them if the problem persists
  
We apologise for any inconvenience


please view-> source of the page and paste the actual database error.

OldSchoolDSL 11-23-2010 11:53 PM

Quote:

Originally Posted by briansol (Post 2120749)
Thank you for reporting. We will upload a new package with that minor fix shortly.

This should take you to
/admincp/sitemap.php

(the default vb4 sitemap priority area)

Any idea on when this small and simple fix will be released (for those of us who may not know how to patch that manually)?

briansol 11-24-2010 03:08 AM

it's not necessary to run. Just click on the left frame and navigate to /admincp/sitemap.php manually if you even bother to use that extended priority feature on vb4.

".php" is missing from the link, thats all. We are NOT posting a new release just for that minor error.


All times are GMT. The time now is 11:25 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.02289 seconds
  • Memory Usage 1,893KB
  • 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
  • (11)bbcode_code_printable
  • (2)bbcode_html_printable
  • (4)bbcode_php_printable
  • (27)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