control-panel-hosting:aapanel:artikel:cara-memblokir-bot-di-aapanel
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| control-panel-hosting:aapanel:artikel:cara-memblokir-bot-di-aapanel [2025/08/05 15:31] – [Apache] kbadmin | control-panel-hosting:aapanel:artikel:cara-memblokir-bot-di-aapanel [2026/05/08 13:45] (current) – kbadmin | ||
|---|---|---|---|
| Line 26: | Line 26: | ||
| return 403; | return 403; | ||
| } | } | ||
| + | </ | ||
| + | |||
| + | seperti ini di aapanel | ||
| + | < | ||
| + | if ($http_user_agent ~ (semrush|opensiteexplorer|ahrefs|seekport|mj12bot|Claude-SearchBot|opensiteexplorer.org)) { | ||
| + | return 403; | ||
| + | } | ||
| + | |||
| + | |||
| + | location ~ ^/ | ||
| + | allow 1.2.3.4; | ||
| + | allow 114.10.0.0/ | ||
| + | deny all; | ||
| + | } | ||
| + | |||
| + | location / | ||
| + | { | ||
| + | try_files $uri $uri/ / | ||
| + | } | ||
| + | |||
| + | |||
| + | |||
| + | rewrite /wp-admin$ $scheme:// | ||
| + | |||
| </ | </ | ||
Layanan
Harga Domain .COM | Harga Domain .ID | Shared Hosting | Email Hosting | MySQL Hosting |control-panel-hosting/aapanel/artikel/cara-memblokir-bot-di-aapanel.1754382691.txt.gz · Last modified: by kbadmin
