
RewriteOptions inherit

# BEGIN Really Simple SSL Redirect 5.3.0
<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 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
RewriteCond %{HTTP_HOST} ^admin\.marmonindo\.co\.id$ [OR]
RewriteCond %{HTTP_HOST} ^www\.admin\.marmonindo\.co\.id$
RewriteRule ^/?$ "http\:\/\/marmonindo\.co\.id\/wp\-admin" [R=301,L]
<IfModule mod_filter.c>
	<IfModule mod_deflate.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>
RewriteCond %{HTTP_HOST} ^marmonindo\.co\.id$ [OR]
RewriteCond %{HTTP_HOST} ^www\.marmonindo\.co\.id$
RewriteRule ^/?$ "https\:\/\/sentrarak\.com\/" [R=301,L]
RewriteCond %{HTTP_HOST} ^.*$
RewriteRule ^/?$ "https\:\/\/sentrarak\.com\/" [R=301,L]
