Yep, "Create Teleportation Circle" ritual, Manual of the Planes, p. 149. Level 15, cost is 1000 gp per square, plus 5 healing surges. It lasts 24 hours, but it can be sustained by spending 1 healing surge per day. If it's sustained for a year + a day (harsh!), it becomes permanent.
Although, for a non-adventuring NPC it's not so bad. Say, the city commissions you to sustain the ritual for a year, and for that year the city pays you some nice cushy salary for not doing anything dangerous.