A series of issues have been caused by the extensive use of volatile and toxic organic solvents in organics and polymers synthesis, i. e., increased production costs and irreversible damage to the environment. Hence, it is necessary to pioneer a synthesis method that is green, safe, and efficient to the sustainable development of society. Herein, a facile and controllable, but rational and effective, in situ solid‐phase synthesis method was developed to prepare a silica‐templated Fe‐phthalocyanine‐based porous organic polymer (POP), which can be further converted into an iron and nitrogen codoped porous carbon (HS‐Phth‐Fe‐900) upon carbonization and template removal. This innovative approach simultaneously provides a means to control the surface features, thereby tuning the catalytic property of obtained materials. The final HS‐Phth‐Fe‐900 with hierarchical pore structure exhibits hollow hemispheric morphology, large pore volume and surface area, significantly improving the mass transfer efficiency and promoting the accessibility of the active sites, achieving a high oxygen reduction reaction (ORR) activity in alkaline media (0.1 M KOH). HS‐Phth‐Fe‐900 presents a competitive half‐wave potential of 0.823 V and limiting current of 4.887 mA/cm2 (vs. 0.833 V and 5.621 mA cm−2 for Pt/C) far beyond the catalysts prepared free of template (Phth‐Fe‐900). Furthermore, it also exhibits long‐time stability and methanol immunity surpassing the benchmark Pt/C in 0.1 M KOH. These results may open up new possibilities for the rational design and large‐scale preparation of POPs‐derived materials for electrochemical applications.