Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   TBDev (http://www.bvlist.com/forumdisplay.php?f=20)
-   -   tbdev with mod_rewrite??? (http://www.bvlist.com/showthread.php?t=3283)

LEGEND 25th August 2009 16:16

tbdev with mod_rewrite???
 
i need help i have installed tbdev from SVN, and i need make .htaccess for mod_rewrite links... Have you an idea? :ok:

for example i have browse.php?cat=1 for my Anime category, and i need rewrite to /category/Anime and etc

THX for reply :friend:

Fynnon 25th August 2009 16:49

It`s better to look into some tutorials first:

[url=http://www.xinsight.ca/blog/tips-for-configuring-apaches-mod_rewrite]Tips for configuring Apache

kp380lv 25th August 2009 17:35

My mod rewrite:)

add this into your .htaccess file

PHP Code:


Order Allow
,Deny
Allow from all
php_flag display_errors On

Options 
+FollowSymLinks
RewriteCond 
%{REQUEST_FILENAME} !-f
RewriteCond 
%{REQUEST_FILENAME} !-d
RewriteEngine On

RewriteRule 
^release/([0-9]+)/$ details.php?id=$[L]
RewriteRule ^edit/([0-9]+)/$ edit.php?id=$[L]
RewriteRule ^cat/([0-9]+)$ browse.php?cat=$[L]
RewriteRule ^comments/([0-9]+)/$ details.php?id=$1&page=0#startcomments [L] 


LEGEND 25th August 2009 17:43

Quote:

Originally Posted by kp380lv (Post 14912)
My mod rewrite:)

add this into your .htaccess file

THX, this i need :bubble:

And one question.. I have for example /cat/1 for Anime category.. And is possible make /cat/Anime ??? Thanks for reply :friend:


All times are GMT +2. The time now is 01:45.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.