RewriteEngine on

RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

RewriteCond %{HTTP_HOST} ^https://fllcarservice.com/ [NC]
RewriteRule ^(.*)$ https://www.fllcarservice.com/$1 [L,R=301]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^faqs.html$  faqs.php [nc,l,QSA]
RewriteRule ^serving-locations.html$  serving-locations.php [nc,l,QSA]
RewriteRule ^fleets.html$  fleets.php  [nc,l,QSA]
RewriteRule ^blog.html$  blog.php  [nc,l,QSA]
RewriteRule ^about-us.html$  about-us.php  [nc,l,QSA]
RewriteRule ^contact-us.html$  contact-us.php  [nc,l,QSA]
RewriteRule ^site-map.html$  site-map.php  [nc,l,QSA]
RewriteRule ^refund-policy.html$  refund-policy.php  [nc,l,QSA]
RewriteRule ^privacy-policy.html$  privacy-policy.php  [nc,l,QSA]
RewriteRule ^reservation.html/([a-zA-Z0-9_+\-\,\&\s\.\!\$\(\)]+)  book-now.php?service=$1 [nc,l,QSA]
RewriteRule ^category/([a-zA-Z0-9_+\-\,\&\s\.\!\$\(\)]+)  blog.php?catname=$1 [nc,l,QSA]
RewriteRule ^blog/([a-zA-Z0-9_+\-\,\&\s\.\!\$\(\)]+)  blog-details.php?btitle=$1 [nc,l,QSA]
RewriteRule ^state/([a-zA-Z0-9_+\-\,\&\s\.\!\$\(\)]+)  detail-of-state.php?postname=$1 [nc,l,QSA]
RewriteRule ^city/([a-zA-Z0-9_+\-\,\&\s\.\!\$\(\)]+)/([a-zA-Z0-9_+\-\,\&\s\.\!\$\(\)]+)  detail-of-city.php?postname=$1&scid=$2 [nc,l,QSA]
RewriteRule ^([a-zA-Z0-9_+\-\,\&\s\.\!\$\(\)]+).html  city-listing.php?postname=$1 [nc,l,QSA]
RewriteRule ^services/([a-zA-Z0-9_+\-\,\&\s\.\!\$\(\)]+) detail-of-services.php?postname=$1 [nc,l,QSA]

<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault "access plus 1 week"
ExpiresByType image/x-icon "access plus 1 month"
ExpiresByType image/gif "access plus 1 week"
ExpiresByType image/png "access plus 1 week"
ExpiresByType image/jpg "access plus 1 week"
ExpiresByType image/jpeg "access plus 1 week"
# CSS
ExpiresByType text/css "access plus 1 week"
# Javascript
ExpiresByType application/javascript "access plus 1 week"
</IfModule>

