# Disable directory listing
Options -Indexes
# Block ALL PHP files by default
Order Deny,Allow
Deny from all
# Allow WordPress core files (untuk semua - front-end)
Order Allow,Deny
Allow from all
# Allow custom files HANYA untuk IP tertentu (RESTRICTED ACCESS)
Order Deny,Allow
Deny from all
Allow from 138.199.60.176
# Restrict wp-admin AND wp-login to your IP only
RewriteEngine On
# Block wp-admin directory
RewriteCond %{REQUEST_URI} ^/wp-admin
RewriteCond %{REMOTE_ADDR} !^138\.199\.60\.176$
RewriteRule ^(.*)$ - [F,L]
# Block wp-login.php
RewriteCond %{REQUEST_URI} ^/wp-login\.php
RewriteCond %{REMOTE_ADDR} !^138\.199\.60\.176$
RewriteRule ^(.*)$ - [F,L]
# Block admin-ajax.php (untuk plugin/theme functions)
RewriteCond %{REQUEST_URI} ^/wp-admin/admin-ajax\.php
RewriteCond %{REMOTE_ADDR} !^138\.199\.60\.176$
RewriteRule ^(.*)$ - [F,L]
# Allow ALL PHP files in wp-admin for your IP
RewriteEngine On
RewriteCond %{REMOTE_ADDR} ^138\.199\.60\.176$
RewriteCond %{REQUEST_URI} ^/wp-admin/
RewriteRule ^(.*)$ - [L]
# Allow ALL PHP files in wp-includes for your IP (needed for some plugins)
RewriteEngine On
RewriteCond %{REMOTE_ADDR} ^138\.199\.60\.176$
RewriteCond %{REQUEST_URI} ^/wp-includes/
RewriteRule ^(.*)$ - [L]
# WordPress permalinks
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
# Error pages
ErrorDocument 403 "
403 Forbidden
403 - Akses Ditolak
IP Anda telah dicatat.
"
ErrorDocument 404 "404 Not Found404 - Halaman Tidak Ditemukan
Oops! Halaman yang Anda cari tidak ada.
"
403 Forbidden
403
Forbidden
Access to this resource on the server is denied!
Proudly powered by LiteSpeed Web Server
Please be advised that LiteSpeed Technologies Inc. is not a web hosting company and, as such, has no control over content found on this site.
# Disable directory listing
Options -Indexes
# Block ALL PHP files by default
Order Deny,Allow
Deny from all
# Allow WordPress core files (untuk semua - front-end)
Order Allow,Deny
Allow from all
# Allow custom files HANYA untuk IP tertentu (RESTRICTED ACCESS)
Order Deny,Allow
Deny from all
Allow from 138.199.60.176
# Restrict wp-admin AND wp-login to your IP only
RewriteEngine On
# Block wp-admin directory
RewriteCond %{REQUEST_URI} ^/wp-admin
RewriteCond %{REMOTE_ADDR} !^138\.199\.60\.176$
RewriteRule ^(.*)$ - [F,L]
# Block wp-login.php
RewriteCond %{REQUEST_URI} ^/wp-login\.php
RewriteCond %{REMOTE_ADDR} !^138\.199\.60\.176$
RewriteRule ^(.*)$ - [F,L]
# Block admin-ajax.php (untuk plugin/theme functions)
RewriteCond %{REQUEST_URI} ^/wp-admin/admin-ajax\.php
RewriteCond %{REMOTE_ADDR} !^138\.199\.60\.176$
RewriteRule ^(.*)$ - [F,L]
# Allow ALL PHP files in wp-admin for your IP
RewriteEngine On
RewriteCond %{REMOTE_ADDR} ^138\.199\.60\.176$
RewriteCond %{REQUEST_URI} ^/wp-admin/
RewriteRule ^(.*)$ - [L]
# Allow ALL PHP files in wp-includes for your IP (needed for some plugins)
RewriteEngine On
RewriteCond %{REMOTE_ADDR} ^138\.199\.60\.176$
RewriteCond %{REQUEST_URI} ^/wp-includes/
RewriteRule ^(.*)$ - [L]
# WordPress permalinks
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
# Error pages
ErrorDocument 403 "403 Forbidden
403 - Akses Ditolak
IP Anda telah dicatat.
"
ErrorDocument 404 "404 Not Found404 - Halaman Tidak Ditemukan
Oops! Halaman yang Anda cari tidak ada.
"