Foguang Temple in north China’s Shanxi has replaced the red wooden gate that made its guard dog Erliang famous, ending visitors’ chance to see him poke his head through a hole in the wood. The change was made over safety concerns and to meet heritage conservation practices.

The worn gate had been replaced by November 25, when visitors arrived and found Erliang’s familiar greeting spot gone. Staff said there was a risk he could slip through the gap into the visitor zone and accidentally hurt someone.

Erliang, part of the temple’s overnight guard team, arrived as a young puppy around four or five years ago and settled in a courtyard beside the East Hall. The gate separated the private courtyard from the tourist path. After watching visitors pass, he began chewing the wood, gradually widening a hole until he could fit his head through it.

Videos and photographs of Erliang peering through the gate spread online. Netizens called the scene “A Day to Shine,” and a best-selling fridge magnet was made with the phrase. The magnet is produced and sold by third parties; the temple does not run an official gift shop.

Caretakers had kept the damaged gate for a long time so visitors could continue enjoying the encounter. The replacement has divided opinion online: some visitors regret losing a popular photo spot, while others say visitor safety and relic protection must take priority. Erliang remains on the temple grounds and continues his guard duties.

Foguang Temple is home to one of China’s rare surviving Tang Dynasty (618-907) wooden structures. Its East Hall is associated with pioneering scholars Liang Sicheng and Lin Huiyin, who surveyed the temple in 1937 while documenting China’s ancient architecture. Their work verified the hall’s Tang Dynasty origins and established its importance in the study of early Chinese timber construction.