The law regulates where your customers/users are, not where you are.
If you run a website hosted in Zanzibar then your server may be subject to Tanzanian law. But if you want people from the UK to access your website, it also needs to comply with relevant UK law. If you don't, the government could order ISPs to block access for UK users.
If we're talking about some no-name blog then you probably don't care about this. But if you're running an e-commerce site or you're monetizing clicks from UK users via advertising then having a large market cut off from you might hurt your bottom line.