I uninstalled vbet but the language code wasn't removed [lang=x], etc I don't want to have to go through hundreds of pages to remove them manually so did I miss a step? Can the code be removed without having to go through every single thread/post?
I uninstalled vbet but the language code wasn't removed [lang=x], etc I don't want to have to go through hundreds of pages to remove them manually so did I miss a step? Can the code be removed without having to go through every single thread/post?
Right now uninstalling vBET will not clean BBcode, please note that pages in foreign language will stay in this language, so you lost users after removing vBET, moreover it will be very difficult to read untranslated posts therefore - maybe better solution is to delete these posts at all.
But if you want only to delete "[lang=x " etc I can code for you a robot-cleaner by the end of the week
What I need cleaning are the urls... The url for threads which were posted by someone who had a foreign language set in their profile are still showing [ langtitle=x] [ /langtitle] How do I fix that?
I got rid of [ lang=x], [ /lang], [notranslate] etc by using vb censoring. I desperately need help with the urls though...
Here's one: .xxxxx.com/forum/f23/[ langtitle=fr]insigne-vrai-ou-faux-[-langtitle]-5565/
How do I get the rubbish out and turn it into:
http://www.xxxxx.com/forum/f23/Dinsi...-ou-faux-5565/
Last edited by vBET; 11-10-11 at 00:40. Reason: BBCode correctoin
Sorry but I need to bump this...
Also, redirecting the now redundant links in the Google index to foreign language pages on my forum?
Last edited by norku; 05-10-11 at 21:11.
As Radek wrote - we will prepare for you robot (PHP script) which will remove all lang, langtitle and notranslate BBCodes. This will be done and provided to you in this week.
If you have langtitle in URL it means that langtitle is included into thread title. Simply change title of thread and remove it. In places which are important and cannot wait please just change it manually. In other places please wait for the script.
Hi,
Why don't you warn people that the vbet bb code isn't removed when you uninstall? Why don't you already have the tool if you know that this happens? I appreciate the assistance but I'd kinda like to fully uninstall and not wait for week while Google indexes incorrect urls...
What about the redirect for the /da, /de, /es etc threads which Google has already indexed?
Last edited by norku; 05-10-11 at 14:12.
Hi,
The answer for booth your question is - because it was really uncommon to uninstall vBET when it is really needed and used. We had ask for such tool once before, but the user decided to stay with vBET and just tuned it appropriately.
Also we cannot do this in uninstall code - uninstall cannot be potentially harmful. What you need will require database backup in case of any troubles.
Also please note that if you have disabled vBET then Google will not index incorrect URLs, because such are not displayed.
For already indexed - just create redirection rules which will redirect all those requests back to the original one. Use this (please test those):
Add your forum directory there. if you have trouble just give us your vBET rules and we will send you back changed. Or in other words - those are 2 first vBET rules where you should remove vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=Code:#RewriteRule ^/?(af|sq|ar|hy|az|eu|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|ka|de|el|ht|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|ur|vi|cy|yi)/$ / [L,QSA] #RewriteRule ^/?(af|sq|ar|hy|az|eu|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|ka|de|el|ht|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|ur|vi|cy|yi)/(.*)?$ /$2 [L,QSA]
The rewrite rules don't work. Whenever an old vbet page is called it generates a 404.
I have vb installed in /forum
.htaccess is in public_html
PHP Code:
RewriteRule ^forum/?(af|sq|ar|hy|az|eu|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|ka|de|el|ht|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|ur|vi|cy|yi)/$ / [L,QSA]
RewriteRule ^forum/?(af|sq|ar|hy|az|eu|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|ka|de|el|ht|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|ur|vi|cy|yi)/(.*)?$ /$2 [L,QSA]
Any news on the BB code removal tool?
Last edited by norku; 06-10-11 at 09:59.
Forum directory added in wrong place, use this one:
But this suppose to be not in public_html just in forum directory. Best way is - just use rules you had before and modify those. If you do not have any, then we will have to find right one. Use this in your forum directory first. If you want to use it in main directory, then check first without additional /forumCode:RewriteRule ^/?(af|sq|ar|hy|az|eu|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|ka|de|el|ht|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|ur|vi|cy|yi)/$ /forum/ [L,QSA] RewriteRule ^/?(af|sq|ar|hy|az|eu|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|ka|de|el|ht|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|ur|vi|cy|yi)/(.*)?$ /forum/$2 [L,QSA] #just comment to see whole 2nd rule
Last edited by vBET; 06-10-11 at 11:43.
Everything worked fine with htaccess in / when I had vbet installed. Yes, I tried my old rules first but they are being ignored. I can't get your rules to work in either /forum or /. I could just leave things as they are and watch Google piling 404 after 404 into Webmaster Tools but I would prefer a clean redirect.
Want to take a look? I can PM you admin/ftp access.
Last edited by norku; 06-10-11 at 13:32.