For anyone newer to this: the UK has moved a number of products from prescription-only to pharmacy sale over the years, and each move changes what can lawfully be sold at a distance. The list is not static and it is worth checking rather than assuming from a five-year-old forum post.
The practical bit: pharmacy (P) medicines can generally be sold online by a registered pharmacy with the appropriate process, and prescription-only (POM) cannot, absent a prescription. General sale list (GSL) products are the least restricted. Which bucket a product is in is a legal fact, not a marketing one, and it is published.
The number of sites that treat “pharmacy medicine” and “prescription only” as interchangeable is remarkable. It is the difference between lawful and not.
Same three-bucket structure in most EU states, with different names. It maps fairly well.