if you want to restrict ip to access your backend you can set up ip list that can be access
- ?重複0或1次
- ^匹配
- ()條件指定
- !不匹配
ip:10.10.10.10
.htaccess
RewriteCond %{REQUEST_URI} ^/(index.php/)?admin/? [NC]
RewriteCond %{REMOTE_ADDR} !^10.10.10.10
RewriteRule ^(.*)$ / [F,L]