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)
-   -   Major Additions - vB Enterprise Translator (https://vborg.vbsupport.ru/showthread.php?t=232456)

akram2025 04-08-2010 07:26 PM

thanks man,, it was really so helpful modification

way2xtreme 04-10-2010 01:35 AM

Quote:

Originally Posted by NLP-er (Post 2017886)
You can block it by robot.txt or edit code. But first of all - why you want to do such thing??...

In google webmaster, almost all pages with duplicated titles or duplicated meta are translated pages... I was told it will hurt my seo..

How do you write it in robox.txt (i have vbseo)

Thanks

Diablotic 04-10-2010 04:07 PM

I have just migrated to vB and would love to install this mod on my website but it does not work for me unfortunately.

I am using "404 / 301 Tool" from vBSeo. This is it: http://www.vbseo.com/f2/404-301-tool...-forums-27498/

My .htaccess configuration looks like that:
Code:

# Comment the following line (add '#' at the beginning)
# to disable mod_rewrite functions.
# Please note: you still need to disable the hack in
# the vBSEO control panel to stop url rewrites.
RewriteEngine On

RewriteRule ^[^/]+vt([0-9]+)\.htm vbseo301.php?action=thread&oldid=$1 [L]
RewriteRule ^[^/]+vt([0-9]+),([0-9]+)\.htm vbseo301.php?action=thread&oldid=$1&start=$2 [L]
RewriteRule ^[^/]+vf([0-9]+)\.htm vbseo301.php?action=forum&oldid=$1 [L]
RewriteRule ^[^/]+u,([0-9]+)\.htm vbseo301.php?action=user&oldid=$1 [L]

# Some servers require the Rewritebase directive to be
# enabled (remove '#' at the beginning to activate)
# Please note: when enabled, you must include the path
# to your root vB folder (i.e. RewriteBase /forums/)
#RewriteBase /

#RewriteCond %{HTTP_HOST} !^www\.yourdomain\.com
#RewriteRule (.*) http://www.yourdomain.com/forums/$1 [L,R=301]

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

RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap)
RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbseo.php [L,QSA]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !/(admincp|modcp|clientscript|cpstyles|images)/

RewriteRule ^(.+)$ vbseo.php [L,QSA]

When I add your .htaccess bit at the beggining then translator works OK but my rewrite script would not work.
I would love to use this translator but I cannot get my .htaccess to work unfortunately. Can you help?

PS. Mozesz pomoc? Prosim.

NLP-er 04-10-2010 06:52 PM

Quote:

Originally Posted by way2xtreme (Post 2018674)
In google webmaster, almost all pages with duplicated titles or duplicated meta are translated pages... I was told it will hurt my seo..

How do you write it in robox.txt (i have vbseo)

Thanks

vBET translated also titles and meta. So if you have there duplicate it means that your have duplicate in your original content. vBET has nothing to do with it - it just translates your titles and meta, not increases it in any other way. Issue is not with vBET but with your original content. So just eliminate duplication on your original pages and it will disappear from translated one.
If you find some page where title or meta are not translated - please note it with exact URL.

Blocking translated pages have no sense - just uninstall vBET then, but as I wrote - there is no issue with vBET. Translating 'cat' to Polish will give you 'kot' each time. Your issue is with duplication on original content.

NLP-er 04-10-2010 06:57 PM

Quote:

Originally Posted by Diablotic (Post 2019010)
I have just migrated to vB and would love to install this mod on my website but it does not work for me unfortunately.

I am using "404 / 301 Tool" from vBSeo. This is it: http://www.vbseo.com/f2/404-301-tool...-forums-27498/

My .htaccess configuration looks like that:
Code:

# Comment the following line (add '#' at the beginning)
# to disable mod_rewrite functions.
# Please note: you still need to disable the hack in
# the vBSEO control panel to stop url rewrites.
RewriteEngine On

RewriteRule ^[^/]+vt([0-9]+)\.htm vbseo301.php?action=thread&oldid=$1 [L]
RewriteRule ^[^/]+vt([0-9]+),([0-9]+)\.htm vbseo301.php?action=thread&oldid=$1&start=$2 [L]
RewriteRule ^[^/]+vf([0-9]+)\.htm vbseo301.php?action=forum&oldid=$1 [L]
RewriteRule ^[^/]+u,([0-9]+)\.htm vbseo301.php?action=user&oldid=$1 [L]

# Some servers require the Rewritebase directive to be
# enabled (remove '#' at the beginning to activate)
# Please note: when enabled, you must include the path
# to your root vB folder (i.e. RewriteBase /forums/)
#RewriteBase /

#RewriteCond %{HTTP_HOST} !^www\.yourdomain\.com
#RewriteRule (.*) http://www.yourdomain.com/forums/$1 [L,R=301]

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

RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap)
RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbseo.php [L,QSA]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !/(admincp|modcp|clientscript|cpstyles|images)/

RewriteRule ^(.+)$ vbseo.php [L,QSA]

When I add your .htaccess bit at the beggining then translator works OK but my rewrite script would not work.
I would love to use this translator but I cannot get my .htaccess to work unfortunately. Can you help?

PS. Mozesz pomoc? Prosim.

Just read instructions for .htaccess file CAREFULLY! And tell me what instruction about vBET rules place is in description... Is there something about putting it at the beginning?...

Diablotic 04-10-2010 08:16 PM

When I put it just above
Code:

RewriteRule ^(.+)$ vbseo.php [L,QSA]
then my website is all messed up with no pictures etc.

When I put it just above
Code:

RewriteCond %{REQUEST_FILENAME} !-f
Then it does not work as it uses my script rewrite first.

When I put it just above
Code:

RewriteRule ^[^/]+vt([0-9]+)\.htm vbseo301.php?action=thread&oldid=$1 [L]
Then my script does not work.

NLP-er 04-11-2010 01:22 PM

Quote:

Originally Posted by Diablotic (Post 2019151)
When I put it just above
Code:

RewriteRule ^(.+)$ vbseo.php [L,QSA]
then my website is all messed up with no pictures etc.

When I put it just above
Code:

RewriteCond %{REQUEST_FILENAME} !-f
Then it does not work as it uses my script rewrite first.

When I put it just above
Code:

RewriteRule ^[^/]+vt([0-9]+)\.htm vbseo301.php?action=thread&oldid=$1 [L]
Then my script does not work.

This is your first rule to vbseo.php:
Code:

RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap)
RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbseo.php [L,QSA]

Please note that condition is also part of rule. So put vBET rules in appropriate place now :) It means just before this one.

Diablotic 04-11-2010 04:09 PM

And when I put your rules above that then my script does not work :(

motorola 04-12-2010 09:06 AM

Today I got a lot of database errors like this below. What happens ?

Database error in vBulletin 4.0.3:

Invalid SQL:
SELECT cache.originaltext as originaltext, cache.translated as translated FROM vbenterprisetranslator_cache_short help, vbenterprisetranslator_cache_short cache WHERE help.originaltext='Old+forum%2Carchive+sections%21 ' AND help.tl='cy' AND cache.serie=help.serie;

MySQL Error : MySQL server has gone away
Error Number : 2006
Request Date : Monday, April 12th 2010 @ 09:47:58 AM
Error Date : Monday, April 12th 2010 @ 09:55:46 AM
Script : http://www.mydomain.com/forum/forumd...ve&language=cy
Referrer :
IP Address : 67.195.115.116
Username : Unregistered
Classname : vB_Database
MySQL Version :

NLP-er 04-12-2010 11:14 AM

Quote:

Originally Posted by Diablotic (Post 2019508)
And when I put your rules above that then my script does not work :(

PM me access details to your forum (Admin CP + FTP) and last content of .htaccess file which you tried to use.


All times are GMT. The time now is 01:01 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.01602 seconds
  • Memory Usage 1,757KB
  • 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
  • (9)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
  • (2)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