# BEGIN OOS DirectoryIndex index.php RewriteEngine On # you have ERROR 403 try this... # Options +FollowSymlinks # Spambots RewriteCond %{HTTP_USER_AGENT} ^libwww [NC,OR] RewriteCond %{HTTP_USER_AGENT} ^lwp RewriteRule ^.* - [F] # Uncomment following line if your webserver's URL # is not directly related to physival file paths. # Update YourShopDirectory (just / for root) RewriteBase /test/shop/ # # Rules # RewriteRule ^(.*)-p-(.*).html$ index.php?mp=products&file=info&products_id=$2&rewrite=true& [L,NC,QSA] RewriteRule ^(.*)-c-(.*).html$ index.php?mp=main&file=shop&cPath=$2&rewrite=true& [L,NC,QSA] RewriteRule ^(.*)-m-(.*).html$ index.php?mp=main&file=shop&manufacturers_id=$2&rewrite=true& [L,NC,QSA] # Customizable error response # ErrorDocument 404 /error.php # END OOS