The .htaccess code is given below
Options +FollowSymLinks -MultiViews
RewriteEngine On
RewriteBase /shoppe
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^cat/([^/]+)$ sub-category.php?category=$1 [NC,L]re
Have you enable the rewrite module on httpd.conf?
Your RewriteRule has bad flag delimiters, it should be something like:
RewriteEngine On
RewriteRule ^([^/]*)\.php$ /sub-category.php?category=$1 [L]