
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.php -f
RewriteRule ^(.*)$ $1.php [NC,L] 
RewriteRule ^service/([a-zA-Z0-9-/]+)$ single-service.php?slug=$1
#RewriteRule ^category/([a-zA-Z0-9-/]+)/([a-zA-Z0-9-/]+)$ product-list.php?pslug=$1&sslug=$2
#RewriteRule ^category/([a-zA-Z0-9-/]+)/([a-zA-Z0-9-/]+)$ top_category.php?slug=$1&sslug=$2
#RewriteRule ^category/([a-zA-Z0-9-/.]+)$ top_category.php?slug=$1
RewriteCond %{HTTPS} off
RewriteCond %{HTTP:X-Forwarded-SSL} !on
RewriteCond %{HTTP_HOST} ^bssinfrabuild\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.bssinfrabuild\.com$
RewriteRule ^/?$ "https\:\/\/bssinfrabuild\.com\/" [R=301,L]
