McIlroy: I'm taking long-term view

World number one Rory McIlroy (right) has confirmed he will not defend his British Open Championship title next week.

McIlroy revealed on Monday that he had suffered a ''total rupture'' of the anterior talofibular ligament in his left ankle while playing football.

"After much consideration, I have decided not to play in the Open Championship at St Andrews," McIlroy wrote on Instagram.

"I'm taking a long-term view of this injury and, although rehab is progressing well, I want to come back to tournament play when I feel 100% healthy and 100% competitive.

"Thank you for all your support and best wishes. I hope to be back on the course as soon as I can.... In the mean time, come on Andy!!!"

That was a reference to Andy Murray, who could be seen in the Instagram post on television playing his Wimbledon quarter-final as McIlroy watched with his foot in the air, but out of the protective boot.

McIlroy's defence of the US PGA Championship at Whistling Straits in five weeks' time is also in serious jeopardy as the 26-year-old could face months on the sidelines.

McIlroy will be "gutted" to miss out next week, according to Ryder Cup team-mate Graeme McDowell.

"It's hugely disappointing, especially with him and Jordan (Spieth) and everything that's going on. It was looking a really exciting Open for all involved," said McDowell.