php_flag display_errors off
RewriteEngine on
RewriteCond
%{SCRIPT_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule
^category/([^/.]+)/([^/.]+)/([^/.]+)/?$
category.php?id=$1&cat=$2&page=$3 [QSA]
RewriteRule
^article/([^/.]+)/([^/.]+)/?$ article.php?id=$1&name=$2
[QSA]
RewriteRule ^search/([^/.]+)/([^/.]+)/?$
search.php?search=$1&page=$3 [QSA]
RewriteRule ^([^/.]+)$
index.php?page=$1 [QSA]