Martha Stewart (search) might be going away, but her show never will.

The domestic diva has cut a deal with cable's Style Network (search), a sibling of E!, to broadcast the entire library of "Martha Stewart Living" in repeats and produce four new specials about weddings.

Stewart created more than 1,500 hours worth of TV shows — most of them at her Connecticut home, Turkey Hill — during her 10 years as host of "Martha Stewart Living."

The show was put on hiatus last month by her production company, following her conviction on obstruction of justice charges in March. Viacom-owned CBS and UPN stations around the country that had been airing her show — many in the wee hours after midnight — dropped the show just days after the conviction.

The deal with Style announced yesterday rescues that huge body of shows from the vault shelves.

"The 'Martha Stewart Living' television show has centered on what is most vital to the daily interests of home makers across America," Stewart said yesterday in a prepared statement. "We are proud to have been able to share these many facets of home and the domestic arts with viewers. By partnering with The Style Network, we can continue viewer access to our programming uninterrupted."

The channel will air the show four times a day, twice in the afternoon, and again at 8 and 11 p.m.

Cooking segments from the "Martha Stewart Living" currently airing on the Food Network (search) are expected to stop next September when the show's syndication deal runs out.

"We think this is a huge get for us," Stephen Schwartz, Style Network's programming chief, told The Post. "She has a huge fan base, and these are people who won't be able to see her any where else on TV after September. We welcome them."

Stewart, 62, will not host the newly produced wedding specials for Style. Another host, as yet unnamed, will anchor those shows.

Martha is currently facing up to 16 months in jail for obstructing an investigation into her sale of ImClone stock a day before the U.S. Food and Drug Ad ministration issued an unfavorable ruling on the company's colon cancer drug.

Style's new "Martha Stewart Living" deal calls for the channel to have the exclusive option to buy 13 episodes of the show at a time.

There are more than 10 years of old telecasts in the show's library. On the Style Network, Martha will be sandwiched between its current lineup, which includes shows like "How Do I Look?" "Guess Who's Com ing Decorate," "Style Court" and "You're Invited."