I live on a beach. Sand is the enemy; it gets into everything, scratches all it touches, and the only way to keep it out is to remove shoes before entering the house.
Thus, everyone who enters my home must remove shoes, unless they need shoes for foot support (I offer booties). It's amazing how, with age, many of us become unable to go comfortably shoeless on a hard floor.
One friend, with feet damaged by long-ago bunion surgery, brings his own pristine "indoor shoes" and puts them on in the foyer (there's a bench to sit on for this purpose). He does this for everybody, not just my house.