{"id":43001,"date":"2024-11-01T09:01:06","date_gmt":"2024-11-01T07:01:06","guid":{"rendered":"https:\/\/xneelo.co.za\/help-centre\/?p=43001"},"modified":"2026-05-06T13:06:15","modified_gmt":"2026-05-06T11:06:15","slug":"how-to-block-unwanted-traffic-to-your-website-from-specific-ips","status":"publish","type":"post","link":"https:\/\/xneelo.co.za\/help-centre\/control-panel\/how-to-block-unwanted-traffic-to-your-website-from-specific-ips\/","title":{"rendered":"How to block unwanted traffic to your website from specific IPs via the xneelo Control Panel"},"content":{"rendered":"<p><span style=\"font-weight: 400;\">It\u2019s possible to block malicious or unwanted traffic from specific IP addresses or a range of IPs by adding a small code snippet to your website&#8217;s .htaccess file.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">The .htaccess file is located in the public_html directory of your website.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">This file can be accessed and edited in various ways, including FTP and SSH. Here we will access it via the File Manager in the xneelo Control Panel.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">No coding or experience is required \u2013 just follow the steps below to block IPs using .htaccess.<\/span><\/p>\n","protected":false,"plain":"<span >It\u2019s possible to block malicious or unwanted traffic from specific IP addresses or a range of IPs by adding a small code snippet to your website's .htaccess file.<\/span>\r\n\r\n<span >The .htaccess file is located in the public_html directory of your website.\u00a0<\/span>\r\n\r\n<span >This file can be accessed and edited in various ways, including FTP and SSH. Here we will access it via the File Manager in the xneelo Control Panel.\u00a0<\/span>\r\n\r\n<span >No coding or experience is required \u2013 just follow the steps below to block IPs using .htaccess.<\/span>"},"excerpt":{"rendered":"<p>Block malicious or unwanted traffic by adding a small code snippet to your website&#8217;s .htaccess file.<\/p>\n","protected":false},"author":34,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"lsx_disable_title":"0","_relevanssi_hide_post":"","_relevanssi_hide_content":"","_relevanssi_pin_for_all":"","_relevanssi_pin_keywords":"","_relevanssi_unpin_keywords":"","_relevanssi_related_keywords":"","_relevanssi_related_include_ids":"","_relevanssi_related_exclude_ids":"","_relevanssi_related_no_append":"","_relevanssi_related_not_related":"","_relevanssi_related_posts":"","_relevanssi_noindex_reason":"","footnotes":""},"categories":[16598],"tags":[24195,22322,22319,20947,20342,20345,17994,16666],"topics":[10377],"class_list":["post-43001","post","type-post","status-publish","format-standard","hentry","category-control-panel","tag-ip-block","tag-htaccess-file","tag-unwanted-traffic","tag-how-to-block-unwanted-traffic-to-your-website-from-specific-ips","tag-block-ip","tag-block-traffic","tag-xcp","tag-block","topics-website-security"],"acf":[],"additional_meta":{"category_title":[{"term_id":16598,"name":"Control panel","slug":"control-panel","term_group":0,"term_taxonomy_id":16598,"taxonomy":"category","description":"<i><span style=\"font-weight: 400\">Our new control panel is secure and simple, with you at the heart of our technology.<\/span><\/i>","parent":0,"count":161,"filter":"raw","term_order":"3","cat_ID":16598,"category_count":161,"category_description":"<i><span style=\"font-weight: 400\">Our new control panel is secure and simple, with you at the heart of our technology.<\/span><\/i>","cat_name":"Control panel","category_nicename":"control-panel","category_parent":0}],"tag_title":[{"term_id":24195,"name":"ip block","slug":"ip-block","term_group":0,"term_taxonomy_id":24195,"taxonomy":"post_tag","description":"","parent":0,"count":1,"filter":"raw","term_order":"94"},{"term_id":22322,"name":"htaccess file","slug":"htaccess-file","term_group":0,"term_taxonomy_id":22322,"taxonomy":"post_tag","description":"","parent":0,"count":2,"filter":"raw","term_order":"717"},{"term_id":22319,"name":"unwanted traffic","slug":"unwanted-traffic","term_group":0,"term_taxonomy_id":22319,"taxonomy":"post_tag","description":"","parent":0,"count":1,"filter":"raw","term_order":"718"},{"term_id":20947,"name":"How to block unwanted traffic to your website from specific IP's","slug":"how-to-block-unwanted-traffic-to-your-website-from-specific-ips","term_group":0,"term_taxonomy_id":20947,"taxonomy":"post_tag","description":"","parent":0,"count":2,"filter":"raw","term_order":"1161"},{"term_id":20342,"name":"block IP","slug":"block-ip","term_group":0,"term_taxonomy_id":20342,"taxonomy":"post_tag","description":"","parent":0,"count":2,"filter":"raw","term_order":"1358"},{"term_id":20345,"name":"block traffic","slug":"block-traffic","term_group":0,"term_taxonomy_id":20345,"taxonomy":"post_tag","description":"","parent":0,"count":2,"filter":"raw","term_order":"1359"},{"term_id":17994,"name":"xcp","slug":"xcp","term_group":0,"term_taxonomy_id":17994,"taxonomy":"post_tag","description":"","parent":0,"count":127,"filter":"raw","term_order":"2132"},{"term_id":16666,"name":"block","slug":"block","term_group":0,"term_taxonomy_id":16666,"taxonomy":"post_tag","description":"","parent":0,"count":2,"filter":"raw","term_order":"2543"}]},"featured_image_src":null,"author_info":{"display_name":"Alexia Papadatos","author_link":"https:\/\/xneelo.co.za\/help-centre\/author\/alexia\/","author_avatar":"https:\/\/secure.gravatar.com\/avatar\/9dc491b1be8ef5ac4a33e742399256d17daf7e6fe70bc88cce1a7bbc06c1a406?s=96&d=mm&r=g"},"_links":{"self":[{"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/posts\/43001","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/users\/34"}],"replies":[{"embeddable":true,"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/comments?post=43001"}],"version-history":[{"count":0,"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/posts\/43001\/revisions"}],"wp:attachment":[{"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/media?parent=43001"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/categories?post=43001"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/tags?post=43001"},{"taxonomy":"topics","embeddable":true,"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/topics?post=43001"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}