RewriteEngine On
# Force HTTPS and redirect non-www to www
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteRule ^(.*)$ https://www.%{HTTP_HOST}/$1 [R=301,L]
RewriteCond %{HTTPS} !=on
RewriteRule ^(.*)$ https://www.servicesplus.in/$1 [R=301,L]
# Redirect all traffic to the public folder
RewriteRule ^(.*)$ public/$1 [L]