View Full Version : Solved Htaccess is all messed up

26-10-10, 13:47
The forums do not work - and when you download and save the htaccess is gets messed up any ideas ? The first page works but when you click to go to a sub forum it is blank.

# 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

redirect 301 Free Sex Stories - Adult Stories - Porn Stories - Sex Videos - Powered by vBulletin (http://www.webscutest.com/forum/index.php) http://www.webscutest.com/forum/

redirect 301 http://www.webscutest.com/forum http://www.webscutest.com/forum/

RewriteCond %{HTTP_HOST} !^www\.webscutest\.com

RewriteRule (.*) http://www.webscutest.com/$1 [L,R=301]

#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|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]

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

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]

RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|gallery/|useralbums/)

RewriteRule ^((archive/)?(cgi-bin/php.cgi/)?)$ vbseo.php [L,QSA]

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images|useralbums)/

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

26-10-10, 14:44
.htaccess looks good.
Make sure that you dont have your .htaccess rules in one line or some different words

26-10-10, 14:48
When you try to go to any forum but the main one it gives page not found ?

26-10-10, 14:51
Please check your .htaccess file on FTP (by some FTP manager - not download it on your computer)

26-10-10, 14:53
Also my vbenterprisetranslator_seo.php is 0 bytes?

26-10-10, 14:54
as I see you can go only to /forum/index.php. another sites - not found so You have a problem with your .htaccess file.
Please try to check your .htaccess or write to your host provider and ask about problem with .htaccess file.

26-10-10, 14:55
Also my vbenterprisetranslator_seo.php is 0 bytes?

so this is probably the issue. Upload a now one file _seo.php and check (!) your .htaccess

26-10-10, 14:57
I made for you a new rules (already uploaded on your FTP. ) now is working - as I see :)

26-10-10, 14:59
I did that you can only see the main forum page all others are blank

26-10-10, 15:00
got it permissions were wrong thanks

26-10-10, 15:03
so, now is working or not?
I can go here and translate. for example: Histoires de Sexe Gratuit - Histoires de Sexe Gratuit - Histoires des adultes - histoires porno - Vidéos de sexe (http://www.webscutest.com/forum/fr/free-sex-stories/)

AfrikaansAlbanianArabicBelarusianBulgarianCatalanChineseCroatianCzechDanishDutchEnglishEstonianFilipinoFinnishFrenchGalicianGermanGreekHaitian CreoleHebrewHindiHungarianIcelandicIndonesianIrishItalianJapaneseKoreanLatvianLithuanianMacedonianMalayMalteseNorwegianPersianPolishPortugueseRomanianRussianSerbianSlovakSlovenianSpanishSwahiliSwedishTaiwaneseThaiTurkishUkrainianVietnameseWelshYiddish
Translations by vB Enterprise Translator 4.9.99