# BEGIN NITROPACK

<IfModule LiteSpeed>
RewriteEngine on
CacheLookup on

RewriteRule .* - [E=Cache-Control:vary=nitrodesktop]

RewriteCond %{HTTP_USER_AGENT} Android|iPad|RIM\ Tablet|hp-tablet|Kindle\ Fire [NC]
RewriteRule .* - [E=Cache-Control:vary=nitrotablet]

RewriteCond %{HTTP_USER_AGENT} iPod|iPhone|MobileSafari|webOS|BlackBerry|windows\ phone|symbian|vodafone|opera\ mini|windows\ ce|smartphone|palm|midp [NC,OR]
RewriteCond %{HTTP_USER_AGENT} Android.*Mobile [NC,OR]
RewriteCond %{HTTP_USER_AGENT} Mobile.*Android [NC]
RewriteRule .* - [E=Cache-Control:vary=nitromobile]

CacheKeyModify -qs:utm_*
CacheKeyModify -qs:fbclid
CacheKeyModify -qs:gclid
CacheKeyModify -qs:gbraid
CacheKeyModify -qs:wbraid
CacheKeyModify -qs:epik
CacheKeyModify -qs:msclkid
CacheKeyModify -qs:zenid
CacheKeyModify -qs:_gl
CacheKeyModify -qs:lons1
CacheKeyModify -qs:appns
CacheKeyModify -qs:tstt1
CacheKeyModify -qs:tsts6
CacheKeyModify -qs:tsts12
CacheKeyModify -qs:lpcid
CacheKeyModify -qs:3x-7
CacheKeyModify -qs:mm_src
CacheKeyModify -qs:muid
CacheKeyModify -qs:vgo_ee
CacheKeyModify -qs:mn
CacheKeyModify -qs:irclickid
CacheKeyModify -qs:irgwc
CacheKeyModify -qs:_xuid
CacheKeyModify -qs:_kx
CacheKeyModify -qs:ref
CacheKeyModify -qs:fb_action_ids
CacheKeyModify -qs:fb_action_types
CacheKeyModify -qs:fb_source
CacheKeyModify -qs:dclid
CacheKeyModify -qs:_ga
CacheKeyModify -qs:cn-reloaded
CacheKeyModify -qs:age-verified
CacheKeyModify -qs:ao_noptimize
CacheKeyModify -qs:usqp
CacheKeyModify -qs:mkt_tok
CacheKeyModify -qs:ck_subscriber_id
CacheKeyModify -qs:age-verified
CacheKeyModify -qs:usqp
CacheKeyModify -qs:cn-reloaded
CacheKeyModify -qs:sscid
CacheKeyModify -qs:ef_id
CacheKeyModify -qs:s_kwcid
CacheKeyModify -qs:_bta_tid
CacheKeyModify -qs:_bta_c
CacheKeyModify -qs:dm_i
CacheKeyModify -qs:campaignid
CacheKeyModify -qs:adgroupid
CacheKeyModify -qs:adid
CacheKeyModify -qs:gclsrc
CacheKeyModify -qs:gdfms
CacheKeyModify -qs:gdftrk
CacheKeyModify -qs:gdffi
CacheKeyModify -qs:_ke
CacheKeyModify -qs:trk_contact
CacheKeyModify -qs:trk_msg
CacheKeyModify -qs:trk_module
CacheKeyModify -qs:trk_sid
CacheKeyModify -qs:mc_cid
CacheKeyModify -qs:mc_eid
CacheKeyModify -qs:mkwid
CacheKeyModify -qs:pcrid
CacheKeyModify -qs:mtm_source
CacheKeyModify -qs:mtm_medium
CacheKeyModify -qs:mtm_campaign
CacheKeyModify -qs:mtm_keyword
CacheKeyModify -qs:mtm_cid
CacheKeyModify -qs:mtm_content
CacheKeyModify -qs:pp
CacheKeyModify -qs:pk_source
CacheKeyModify -qs:pk_medium
CacheKeyModify -qs:pk_campaign
CacheKeyModify -qs:pk_keyword
CacheKeyModify -qs:pk_cid
CacheKeyModify -qs:pk_content
CacheKeyModify -qs:redirect_log_mongo_id
CacheKeyModify -qs:redirect_mongo_id
CacheKeyModify -qs:sb_referer_host
CacheKeyModify -qs:pk_kwd
CacheKeyModify -qs:piwik_campaign
CacheKeyModify -qs:piwik_kwd
CacheKeyModify -qs:piwik_keyword
CacheKeyModify -qs:mtm_group
CacheKeyModify -qs:mtm_placement
CacheKeyModify -qs:matomo_campaign
CacheKeyModify -qs:matomo_keyword
CacheKeyModify -qs:matomo_source
CacheKeyModify -qs:matomo_medium
CacheKeyModify -qs:matomo_content
CacheKeyModify -qs:matomo_cid
CacheKeyModify -qs:matomo_group
CacheKeyModify -qs:matomo_placement
CacheKeyModify -qs:hsa_cam
CacheKeyModify -qs:hsa_grp
CacheKeyModify -qs:hsa_mt
CacheKeyModify -qs:hsa_src
CacheKeyModify -qs:hsa_ad
CacheKeyModify -qs:hsa_acc
CacheKeyModify -qs:hsa_net
CacheKeyModify -qs:hsa_kw
CacheKeyModify -qs:hsa_tgt
CacheKeyModify -qs:hsa_ver
CacheKeyModify -qs:_branch_match_id

</IfModule>

# END NITROPACK
# BEGIN LSCACHE
# END LSCACHE
# BEGIN NON_LSCACHE
# END NON_LSCACHE
# This file was updated by Duplicator Pro on 2021-01-19 12:52:38.

<Files xmlrpc.php>
order deny,allow
deny from all
allow from 103.131.188.25
</Files>

# BEGIN Really Simple SSL Redirect 5.3.1
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{HTTPS} !=on [NC]
RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/
RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L]
</IfModule>
# END Really Simple SSL Redirect
###BEGIN Swift Performance###
# ------------------------------------------------------------------------------
# | Compression                                                                |
# ------------------------------------------------------------------------------
<IfModule mod_deflate.c>

    # Force compression for mangled headers.
    # http://developer.yahoo.com/blogs/ydn/posts/2010/12/pushing-beyond-gzipping
    <IfModule mod_setenvif.c>
        <IfModule mod_headers.c>
            SetEnvIfNoCase ^(Accept-EncodXng|X-cept-Encoding|X{15}|~{15}|-{15})$ ^((gzip|deflate)\s*,?\s*)+|[X~-]{4,13}$ HAVE_Accept-Encoding
            RequestHeader append Accept-Encoding "gzip,deflate" env=HAVE_Accept-Encoding
        </IfModule>
    </IfModule>

    # Compress all output labeled with one of the following MIME-types
    # (for Apache versions below 2.3.7, you don't need to enable `mod_filter`
    #  and can remove the `<IfModule mod_filter.c>` and `</IfModule>` lines
    #  as `AddOutputFilterByType` is still in the core directives).
    <IfModule mod_filter.c>
       AddOutputFilterByType DEFLATE "application/atom+xml" \
                                  "application/javascript" \
                                  "application/json" \
                                  "application/ld+json" \
                                  "application/manifest+json" \
                                  "application/rdf+xml" \
                                  "application/rss+xml" \
                                  "application/schema+json" \
                                  "application/vnd.geo+json" \
                                  "application/vnd.ms-fontobject" \
                                  "application/x-font-ttf" \
                                  "application/x-javascript" \
                                  "application/x-web-app-manifest+json" \
                                  "application/xhtml+xml" \
                                  "application/xml" \
                                  "font/eot" \
                                  "font/opentype" \
                                  "image/bmp" \
                                  "image/svg+xml" \
                                  "image/vnd.microsoft.icon" \
                                  "image/x-icon" \
                                  "text/cache-manifest" \
                                  "text/css" \
                                  "text/html" \
                                  "text/javascript" \
                                  "text/plain" \
                                  "text/vcard" \
                                  "text/vnd.rim.location.xloc" \
                                  "text/vtt" \
                                  "text/x-component" \
                                  "text/x-cross-domain-policy" \
                                  "text/xml"
    </IfModule>

</IfModule>

# ------------------------------------------------------------------------------
# | Expires headers (for better cache control)                                 |
# ------------------------------------------------------------------------------
<IfModule mod_expires.c>
    ExpiresActive on
    ExpiresDefault                                      "access plus 1 month"

  # CSS
    ExpiresByType text/css                              "access plus 1 year"

  # Data interchange
    ExpiresByType application/json                      "access plus 0 seconds"
    ExpiresByType application/xml                       "access plus 0 seconds"
    ExpiresByType text/xml                              "access plus 0 seconds"

  # Favicon (cannot be renamed!)
    ExpiresByType image/x-icon                          "access plus 1 week"

  # HTML components (HTCs)
    ExpiresByType text/x-component                      "access plus 1 month"

  # HTML
    ExpiresByType text/html                             "access plus 0 seconds"

  # JavaScript
    ExpiresByType application/javascript                "access plus 1 year"

  # Manifest files
    ExpiresByType application/x-web-app-manifest+json   "access plus 0 seconds"
    ExpiresByType text/cache-manifest                   "access plus 0 seconds"

  # Media
    ExpiresByType audio/ogg                             "access plus 1 month"
    ExpiresByType image/gif                             "access plus 1 month"
    ExpiresByType image/jpeg                            "access plus 1 month"
    ExpiresByType image/png                             "access plus 1 month"
    ExpiresByType image/webp                            "access plus 1 month"
    ExpiresByType video/mp4                             "access plus 1 month"
    ExpiresByType video/ogg                             "access plus 1 month"
    ExpiresByType video/webm                            "access plus 1 month"

  # Web feeds
    ExpiresByType application/atom+xml                  "access plus 1 hour"
    ExpiresByType application/rss+xml                   "access plus 1 hour"

  # Web fonts
    ExpiresByType application/font-woff                 "access plus 1 month"
    ExpiresByType application/font-woff2                "access plus 1 month"
    ExpiresByType application/vnd.ms-fontobject         "access plus 1 month"
    ExpiresByType application/x-font-ttf                "access plus 1 month"
    ExpiresByType font/opentype                         "access plus 1 month"
    ExpiresByType image/svg+xml                         "access plus 1 month"

</IfModule>


<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_METHOD} !POST
RewriteCond %{QUERY_STRING} ^$
RewriteCond %{HTTP:Cookie} !^.*(wordpress_logged_in|).*$
RewriteCond %{REQUEST_URI} !^/wp-content/cache/swift-performance/([^/]*)/assetproxy
RewriteCond /home/bizbo389/soapart.sg/wp-content/cache/swift-performance/%{HTTP_HOST}%{REQUEST_URI}/desktop/unauthenticated/index.html -f
RewriteRule (.*) wp-content/cache/swift-performance/%{HTTP_HOST}%{REQUEST_URI}/desktop/unauthenticated/index.html [L]


</IfModule>

# ----------------------------------------------------------------------
# CORS-enabled images (@crossorigin)
# ----------------------------------------------------------------------
# Send CORS headers if browsers request them; enabled by default for images.
# developer.mozilla.org/en/CORS_Enabled_Image
# blog.chromium.org/2011/07/using-cross-domain-images-in-webgl-and.html
# hacks.mozilla.org/2011/11/using-cors-to-load-webgl-textures-from-cross-domain-images/
# wiki.mozilla.org/Security/Reviews/crossoriginAttribute
<IfModule mod_setenvif.c>
  <IfModule mod_headers.c>
    # mod_headers, y u no match by Content-Type?!
    <FilesMatch "\.(gif|png|jpe?g|svg|svgz|ico|webp)$">
      SetEnvIf Origin ":" IS_CORS
      Header set Access-Control-Allow-Origin "*" env=IS_CORS
    </FilesMatch>
  </IfModule>
</IfModule>
# ----------------------------------------------------------------------
# Webfont access
# ----------------------------------------------------------------------
# Allow access from all domains for webfonts.
# Alternatively you could only whitelist your
# subdomains like "subdomain.example.com".
<IfModule mod_headers.c>
  <FilesMatch "\.(ttf|ttc|otf|eot|woff|woff2|font.css|css|js)$">
    Header set Access-Control-Allow-Origin "*"
  </FilesMatch>
</IfModule>

###END Swift Performance###
###BEGIN Swift Performance Lite###
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_METHOD} !POST
RewriteCond %{QUERY_STRING} ^$
RewriteCond %{HTTP:Cookie} !^.*(wordpress_logged_in).*$
RewriteCond %{REQUEST_URI} !^/wp-content/cache/swift-performance/([^/]*)/assetproxy
RewriteCond /home/bizbo389/soapart.sg/wp-content/cache/swift-performance/%{HTTP_HOST}%{REQUEST_URI}/desktop/unauthenticated/index.html -f
RewriteRule (.*) wp-content/cache/swift-performance/%{HTTP_HOST}%{REQUEST_URI}/desktop/unauthenticated/index.html [L]
</IfModule>

# ----------------------------------------------------------------------
# CORS-enabled images (@crossorigin)
# ----------------------------------------------------------------------
# Send CORS headers if browsers request them; enabled by default for images.
# developer.mozilla.org/en/CORS_Enabled_Image
# blog.chromium.org/2011/07/using-cross-domain-images-in-webgl-and.html
# hacks.mozilla.org/2011/11/using-cors-to-load-webgl-textures-from-cross-domain-images/
# wiki.mozilla.org/Security/Reviews/crossoriginAttribute
<IfModule mod_setenvif.c>
  <IfModule mod_headers.c>
    # mod_headers, y u no match by Content-Type?!
    <FilesMatch "\.(gif|png|jpe?g|svg|svgz|ico|webp)$">
      SetEnvIf Origin ":" IS_CORS
      Header set Access-Control-Allow-Origin "*" env=IS_CORS
    </FilesMatch>
  </IfModule>
</IfModule>
# ----------------------------------------------------------------------
# Webfont access
# ----------------------------------------------------------------------
# Allow access from all domains for webfonts.
# Alternatively you could only whitelist your
# subdomains like "subdomain.example.com".
<IfModule mod_headers.c>
  <FilesMatch "\.(ttf|ttc|otf|eot|woff|woff2|font.css|css|js)$">
    Header set Access-Control-Allow-Origin "*"
  </FilesMatch>
</IfModule>

###END Swift Performance Lite###
# BEGIN WordPress
# The directives (lines) between "BEGIN WordPress" and "END WordPress" are
# dynamically generated, and should only be modified via WordPress filters.
# Any changes to the directives between these markers will be overwritten.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

# BEGIN ShortPixelWebp
# The directives (lines) between "BEGIN ShortPixelWebp" and "END ShortPixelWebp" are
# dynamically generated, and should only be modified via WordPress filters.
# Any changes to the directives between these markers will be overwritten.

# END ShortPixelWebp

# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php72” package as the default “PHP” programming language.
<IfModule mime_module>
  AddHandler application/x-httpd-ea-php72___lsphp .php .php7 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit
