The AVO prevents Webb from assaulting, threatening, stalking or harassing the former Home and Away star whom he married in 2010.
The couple have a five-year-old daughter together.
Webb also agreed not to approach or be in the company of his wife “for at least 12 hours after drinking alcohol or taking illicit drugs”.
A police constable originally applied for the AVO on Ritchie’s behalf on October 21 after an incident at the couple’s Randwick home on October 17.
In court today Webb also received a 12-month community correction order in relation to a drink driving charge from March, according to Nine News.
The notoriously private Ritchie hasn’t commented on the legal drama since it was made public.
She has continued to appear on Nova’s national drive show Kate, Tim and Marty since the story broke and yesterday she shared the heartbreaking news that her dog, Mac, had died.