View Single Post
  #3  
Old 25th August 2009, 17:35
kp380lv's Avatar
kp380lv kp380lv is offline
Senior Member
 
Join Date: May 2008
Latvia
Posts: 388
Default
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] 
Reply With Quote