sentence1: But remember when visiting places of worship to dress in an appropriately dignified manner and to slip off your shoes before entering a mosque or a Hindu temple.
sentence2: It is regarded as respectful to remove shoes before entering a mosque.