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)

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 
شبكة نادي العائلة | 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 
شبكة نادي العائلة | 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 06:23 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.01702 seconds
  • Memory Usage 1,774KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_html_printable
  • (2)bbcode_php_printable
  • (8)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