PDA

View Full Version : Solved SEO URL's not working.



mickknutson
11-07-11, 15:17
This plugin ROCKS************

But I do want to get VBSEO working please.
I installed this plugin and work without the SEO enabled but I want to use VBSEO.

I used these rules at the top of my .htaccess:


#
RewriteRule ^/?(af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|de|el|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|vi|cy|yi)/$ vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/forum/ [L,QSA]
RewriteRule ^/?(af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|de|el|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|vi|cy|yi)/(.*)?$ vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/forum/$2 [L,QSA]

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

... more Vault wiki and VBSEO rules...



Then I get the pages broken up:
blinc-translate-off.png

But the original should be like:
blinc-translate-no-seo.png


here is my full .htaccess

RewriteEngine On

#********************************************************-#
# Valut WIKI
#********************************************************-#
RewriteBase /forum/

RewriteRule ^wiki.php$ showwiki.php [L,QSA]
RewriteRule ^showwiki.php?title=(.*)$ wiki/$1 [L,R=301]
RewriteRule ^wiki/Wiki:(.*)$ wiki/$1 [L,R=301]

RewriteRule ^wiki$ wiki/ [L,QSA,R=301]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^wiki/(.*)?$ showwiki_proxy.php [L,QSA]


#********************************************************-#
RewriteRule ^/?(af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|de|el|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|vi|cy|yi)/$ vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/forum/ [L,QSA]
RewriteRule ^/?(af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|de|el|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|vi|cy|yi)/(.*)?$ vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/forum/$2 [L,QSA]

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

#********************************************************-#
# 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.
#********************************************************-#
# 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 /

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

RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap)
RewriteCond %{REQUEST_URI} !showwiki_proxy.php
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]

vBET
11-07-11, 18:54
First - move rule for sitemap generator before vBET rules.

Second - I do not know what happens because you didn't send error messages - instead you wrote images names... What happens - what are error messages?

What is your forum URL - are you sure you modified rules appropriately?

mickknutson
11-07-11, 19:05
Here is with the SEO enabled like:


RewriteEngine On

RewriteBase /forum/

#********************************************************-#
# Valut WIKI
#********************************************************-#

RewriteRule ^wiki.php$ showwiki.php [L,QSA]
RewriteRule ^showwiki.php?title=(.*)$ wiki/$1 [L,R=301]
RewriteRule ^wiki/Wiki:(.*)$ wiki/$1 [L,R=301]

RewriteRule ^wiki$ wiki/ [L,QSA,R=301]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^wiki/(.*)?$ showwiki_proxy.php [L,QSA]


#********************************************************-#
# vBSEO Search Engine XML Sitemap 3.0 PL1
RewriteRule ^((urllist|sitemap).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]

#************************************************************-
# Rules for SEO translation links with vbSEO (have to be included before all rules to vbseo.php)
RewriteRule ^/?(af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|de|el|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|vi|sq|ca|et|tl|gl|hi|id|lv|lt|mt|sl|uk|vi|cy|yi)/$ vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/forum/ [L,QSA]
RewriteRule ^/?(af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|de|el|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|vi|sq|ca|et|tl|gl|hi|id|lv|lt|mt|sl|uk|vi|cy|yi)/(.*)?$ vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/forum/$2 [L,QSA]

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

#RewriteCond %{QUERY_STRING} language=(zh-TW|zh-CN|..)
#RewriteRule ^(.*)$ http://%{HTTP_HOST}/%1/$1? [L,R=301]

#********************************************************-#
# 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.
#********************************************************-#

RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap)
RewriteCond %{REQUEST_URI} !showwiki_proxy.php
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]





http://blincmagazine.com/temp/blinc2.jpg

This is with the SEO turned off
http://blincmagazine.com/temp/blinc1.jpg

here is my forum:
http://www.blincmagazine.com/forum/

mickknutson
11-07-11, 19:53
I have another issue that is related.

I turned off the SEO links, but left the htaccess, then my Vault Wiki does not show up:

http://blincmagazine.com/temp/blinc3.jpg

vBET
12-07-11, 15:14
Here is with the SEO enabled like:


RewriteEngine On

RewriteBase /forum/

#********************************************************-#
# Valut WIKI
#********************************************************-#

RewriteRule ^wiki.php$ showwiki.php [L,QSA]
RewriteRule ^showwiki.php?title=(.*)$ wiki/$1 [L,R=301]
RewriteRule ^wiki/Wiki:(.*)$ wiki/$1 [L,R=301]

RewriteRule ^wiki$ wiki/ [L,QSA,R=301]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^wiki/(.*)?$ showwiki_proxy.php [L,QSA]


#********************************************************-#
# vBSEO Search Engine XML Sitemap 3.0 PL1
RewriteRule ^((urllist|sitemap).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]

#************************************************************-
# Rules for SEO translation links with vbSEO (have to be included before all rules to vbseo.php)
RewriteRule ^/?(af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|de|el|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|vi|sq|ca|et|tl|gl|hi|id|lv|lt|mt|sl|uk|vi|cy|yi)/$ vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/forum/ [L,QSA]
RewriteRule ^/?(af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|de|el|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|vi|sq|ca|et|tl|gl|hi|id|lv|lt|mt|sl|uk|vi|cy|yi)/(.*)?$ vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/forum/$2 [L,QSA]

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

#RewriteCond %{QUERY_STRING} language=(zh-TW|zh-CN|..)
#RewriteRule ^(.*)$ http://%{HTTP_HOST}/%1/$1? [L,R=301]

#********************************************************-#
# 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.
#********************************************************-#

RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap)
RewriteCond %{REQUEST_URI} !showwiki_proxy.php
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]





http://blincmagazine.com/temp/blinc2.jpg

This is with the SEO turned off
http://blincmagazine.com/temp/blinc1.jpg

here is my forum:
BLiNC Magazine:: BASE jumping, Skydiving, and Paragliding - BASE Jumping Exit Point: Everything you ever wanted to know about BASE Jumping, Speed Flying and Skydiving but didn't know whom to ask. (http://www.blincmagazine.com/forum/)

You have issue with styles. I cannot tell what is going on exactly without html output. Most probably you do not have set 'base', so relative CSS links are wrong. Please PM me html output from broken page or access details to your forum (Admin CP and FTP).

About your wiki issue - at this moment I see it is working.

mickknutson
12-07-11, 21:04
I just upgraded to beta 44 and the htaccess works for the site, but not for Vault Wiki now.


RewriteEngine On
RewriteBase /forum/

#********************************************************-#
# Valut WIKI
#********************************************************-#

RewriteRule ^wiki.php$ showwiki.php [L,QSA]
RewriteRule ^showwiki.php?title=(.*)$ wiki/$1 [L,R=301]
RewriteRule ^wiki/Wiki:(.*)$ wiki/$1 [L,R=301]

RewriteRule ^wiki$ wiki/ [L,QSA,R=301]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^wiki(.*)?$ showwiki_proxy.php [L,QSA]

#********************************************************-#
# vBSEO Search Engine XML Sitemap 3.0 PL1
RewriteRule ^((urllist|sitemap).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]

#************************************************************************--
#RULES for SEO translation links with vBSEO (have to be included before all rules to vbseo.php)
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)/$ vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/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)/(.*)?$ vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/forum/$2 [L,QSA]

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

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/
RewriteRule $ vbenterprisetranslator_seo.php [L,QSA]

#********************************************************-#
# 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.
#********************************************************-#

RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap)
RewriteCond %{REQUEST_URI} !showwiki_proxy.php
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]


#********************************************************-#
# VBLinks
#RewriteRule '^vblinklist\.php\?do=showentry&id=(\d+)&title=(.*)&catid=(\d+)&cattitle=(.*)'=>'linkliste/$3-$4/$1-$2.html'
#RewriteRule '^vblinklist\.php\?do=(.*)&id=(\d+)&title=(.*)&catid=(\d+)&cattitle=(.*)'=>'linkliste/$2-$3/$1-$5-$4/'
#RewriteRule '^vblinklist\.php\?do=showcat&catid=(\d+)&cattitle=(.*)'=>'linkliste/$1-$2/'
#RewriteRule '^vblinklist\.php'=>'linkliste/'


There are no errors where generated either.

vBET
13-07-11, 12:46
Hi. You paid for Integration Service, but in PM you wrote that you need installation. The price is the same - so please confirm - is it paid for integration with Vault Wiki or for vBET installation? If for integration - then let us solve all the issues on your forum. If for installation - then let us first made the installation and after we will be sure that vBET is OK we will discuss all other issues. At this moment we are waiting for access details - please see PM :)

mickknutson
13-07-11, 12:49
I installed the plugin, but i need help integrating this with VBSEO, Vautl Wiki, and the other apps I have. I sent a PM.

vBET
13-07-11, 13:44
Going there now.

AfrikaansAlbanianArabicBelarusianBulgarianCatalanChineseCroatianCzechDanishDutchEnglishEstonianFilipinoFinnishFrenchGalicianGermanGreekHaitian CreoleHebrewHindiHungarianIcelandicIndonesianIrishItalianJapaneseKoreanLatvianLithuanianMacedonianMalayMalteseNorwegianPersianPolishPortugueseRomanianRussianSerbianSlovakSlovenianSpanishSwahiliSwedishTaiwaneseThaiTurkishUkrainianVietnameseWelshYiddish
vBET 4.10.1 brings automatic translations