Music

Before bashing Kanye, Taylor Swift made Grammy history

Taylor Swift took Album of the Year at Monday night’s 58th Annual Grammy Awards, becoming the first female performer ever to win that trophy twice — as she took a veiled shot at nemesis Kanye West.

“As the first woman to win Album of the Year at the Grammys twice, I want to say to all the young women . . . there are going to be people along the way that will try to undercut your success,” the 26-year-old singer said while accepting her award. “But if you just focus on the work and you don’t let those people sidetrack you, someday when you get where you’re going, you will look around and you will know that it was you and the people who love you who put you there.”

The comment came after the big-mouthed rapper called Swift a “bitch” in a new song, “Famous,” and sang that he made her famous by rushing onstage at the MTV Music Awards in 2009 as she accepted an award.

West — who was absent Monday night — also caught heat for a lyric in the song that said Swift “might still have sex” with him.

The night began with a performance from Swift, who rocked LA’s Staples Center with a fiery rendition of “Out of the Woods.”

The other big winner was the smash hit “Uptown Funk” by Mark Ronson and Bruno Mars, which took Record of the Year.

Singer-songwriter Ed Sheeran won the Song of the Year award for his heartthrob ballad, “Thinking Out Loud,” and young pop veteran Justin Bieber took home the first Grammy of his career — Best Dance Recording for “Where Are Ü Now.”

Meanwhile, Adele made her return to the Grammy stage, but her appearance was marred by some sound issues.

“The piano mics fell on to the piano strings, that’s what the guitar sound was,” the “Hello” singer tweeted. “It made it sound out of tune. S–t happens.”

Broadway hit “Hamilton” was given the award for Best Musical-Theater Album moments after the cast gave a live performance of the opening number on a feed from the Richard Rodgers Theatre in Manhattan.

Los Angeles rap phenom Kendrick Lamar gave a rousing performance that meandered through songs from his album “To Pimp a Butterfly,” which won the award for Best Rap Album.

Lamar paid tribute to rap artists such as Snoop Dogg and Nas, who came before him and never received recognition from the National Academy of Recording Arts and Sciences.

The White House’s Twitter feed sent a “shoutout to @KendrickLamar and all the artists at the Grammys working to build a better future.”

Lady Gaga gave a mind-numbing tribute to the late gender-bending rock icon David Bowie, wearing myriad costumes and whirling through 10 Bowie hits ranging from “Ziggy Stardust” to “Let’s Dance.”

“The world loves you, David,” Gaga wrote on her Instagram page along with a video of her eyes tearing up to Bowie’s music while having her makeup applied.

R&B singer The Weeknd performed his infectious and wildly popular song “I Can’t Feel My Face,” while Southern rock band Alabama Shakes delivered a song from their new album, “Sound & Color.”

Rihanna was a no-show at the awards because of illness. Her publicist explained that the star was examined after rehearsal on Sunday and a doctor put her on vocal rest for 48 hours because she was at risk of damaging her vocal cords.