пример в принципе стандартного htaccess
Options +FollowSymlinks -Indexes DirectoryIndex index.php ErrorDocument 404 /index.php RewriteEngine On RewriteBase / RewriteCond %{THE_REQUEST} /(\.+) [OR] RewriteCond %{THE_REQUEST} /(\?+) [OR] RewriteCond %{THE_REQUEST} /(/+) RewriteRule ^(.*)$ 404.html [L] # BEGIN XML Sitemap RewriteRule ^sitemap\.xml$ /xml_sitemap.php [L] # END XML Sitemap RewriteRule ^core/(install|temp|smarty|modules|languages|includes|functions|fonts|files|config|classes|cache|backup)/(.*) - [F] RewriteRule ^data/(.+)\.(tpl\.html|php|php3|php4|php5|phtml|pl|cgi) - [F] RewriteRule ^install_check\.html$ install.php?check=yes [L] RewriteRule ^index\.html$ index.php [L] RewriteRule ^news\.html$ index.php?news=yes [L] RewriteRule ^price\.html$ index.php?show_price=yes [L] RewriteRule ^cart\.html$ index.php?shopping_cart=yes [L] RewriteRule ^wide_search\.html$ index.php?search_with_change_category_ability=yes [L] #RewriteRule ^feedback\.html$ index.php?feedback=yes [L] RewriteRule ^compare\.html$ index.php?comparison_products=yes [L] RewriteRule ^page_([0-9]+)\.html$ index.php?show_aux_page=$1 [L] RewriteRule ^product_([0-9]+)\.html$ index.php?productID=$1 [L] RewriteRule ^category_([0-9]+)\.html$ index.php?categoryID=$1 [L] RewriteRule ^category_([0-9]+)_offset_([0-9]+)\.html$ index.php?categoryID=$1&offset=$2 [L] RewriteRule ^category_([0-9]+)_show_all\.html$ index.php?categoryID=$1&show_all=yes [L] RewriteRule ^show_news_([0-9]+)\.html$ index.php?fullnews=$1 [L] RewriteRule ^login\.html$ index.php?login_page=yes [L]