![]() |
Forum Url friendly rewrite and thread titles causes error 500 Hi to all! I have two problems with the url rewrite on vb4.0.3 First, when I upgrade from vb3 to vb4, I lost the url rewrite, because I was using the TFFSeo mod rewrite. Now I have a new url and when someone try to access a old url they get a 500 Error instead of a 404 error. Second, when a title of a thread has dots, in general 3 dots (...), the second page of that thread can´t be accessible. I search the board for a solution, but i can´t find it. This is my htacces PHP Code: Options +FollowSymlinks RewriteEngine on #Errorpages ErrorDocument 400 http://www.digireflex.net/400_forum.php ErrorDocument 401 http://www.digireflex.net/401_forum.php ErrorDocument 403 http://www.digireflex.net/403_forum.php ErrorDocument 404 http://www.digireflex.net/404_forum.php ErrorDocument 500 http://www.digireflex.net/500_forum.php ## Server RewriteCond %{HTTP_HOST} ^digireflex.com.ar$ [OR] RewriteCond %{HTTP_HOST} ^www.digireflex.com.ar$ RewriteRule ^/?(.*)$ http://digireflex.net/$1 [R=302,L] # If you are having problems or are using VirtualDocumentRoot, uncomment this line and set it to your vBulletin directory. # RewriteBase /forum/ RewriteCond %{REQUEST_FILENAME} -s [OR] RewriteCond %{REQUEST_FILENAME} -l [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^.*$ - [NC,L] # Forum RewriteRule ^threads/.* showthread.php [QSA] RewriteRule ^forums/.* forumdisplay.php [QSA] RewriteRule ^members/.* member.php [QSA] RewriteRule ^blogs/.* blog.php [QSA] ReWriteRule ^entries/.* entry.php [QSA] RewriteCond %{REQUEST_FILENAME} -s [OR] RewriteCond %{REQUEST_FILENAME} -l [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^.*$ - [NC,L] # MVC RewriteRule ^(?:(.*?)(?:/|$))(.*|$)$ $1.php?r=$2 [QSA] thanks for the help. Sergio. |
الساعة الآن 05:34 AM |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.5.2 TranZ By
Almuhajir