1. Creating the files
You can create these offline and upload them or create them in your online file manage.
block.php
Replace XXX.XXX.XXX with IP addresses you want to block
block.html
Access Denied
Your access denied message here
2. On Tumblr
Go to the customize page of the blog you want to use this on.
Theme > Use Custom HTML
Find the “” tag and just after it paste the following code: