Hulk Hogan has received permission to search through desktop and laptop computers belonging to Gawker, its executives and former employees to look for evidence that the ailing blog site leaked confidential information to the National Enquirer.

A Florida judge also allowed Hogan to comb through smartphones and other digital equipment belonging to Gawker co-founder Nick Denton, former Editor A.J. Daulerio and President Heather Dietrick.

Hogan, a former WWE star, is suing Gawker for $100 million for violating his right to privacy by posting a 2006 video of him having sex with the wife of his former friend Bubba the Love Sponge.

All possible evidence related to the video was ordered sealed.

In July, just ahead of the scheduled start of the trial, a story appeared in the Enquirer about Hogan using racist language in a rant against his daughter and her boyfriend.

The bombshell recording, which has the Hulk slinging the N-word and spewing other slurs, had been submitted as evidence tagged “Confidential — Attorney’s Eyes Only” in the invasion-of-privacy case the wrestler brought against Gawker in 2012.

Gawker tried to block Hogan from gaining access to its company email and the private emails of its current and former employees, but lost.

Judge Pamela Campbell, in an order signed late Wednesday and made available Thursday, allowed Hogan, through a forensic expert he must pay for, to search the computers for 27 terms or statements between June 26 and Aug. 6, including “racist,” “SpiceBoy,” “black billionaire guy” and “cowhead.”

Campbell acknowledged that her authorizing a forensic expert to rifle through Gawker’s digital equipment was highly unusual — but said it is “the least intrusive alternative to seek the truth.”

Hogan — whose real name is Terry Bollea — alleges the blog leaked the tape to undermine his reputation and hurt his chances at trial.

After the Enquirer story was published on July 24, the WWE immediately fired Hogan, one of its most iconic wrestlers.

Gawker lawyer Michael Berry called the ruling “literally unprecedented” and said his client would appeal before the order takes effect on Nov. 18.

The trial, originally set to start on July 6 this year, is now on the calendar for March 7.