SAN FRANCISCO -- Bare-chested Joe Staley and Mike Iupati jumped up and down wearing only their shorts, each offensive lineman doing his best to will the Vikings to victory from afar.

The 49ers – sporting fresh red NFC West champion caps after beating the Arizona Cardinals 27-13 on Sunday – crammed into the cozy confines of their locker room and became Minnesota's fiercest cross-country cheering section. When Blair Walsh's 29-yard field goal sailed through the uprights for the Vikings as time expired to give San Francisco a playoff bye, the tiny dressing area in Candlestick Park's south corner erupted into a crazy, celebratory scene.

"C'mon, baby, bye week!" shouted defensive tackle Ricky Jean Francois.

The Vikings certainly deserved some thanks. So did Michael Crabtree.

Crabtree's career day and dazzling catch-making display sent San Francisco to a second straight division title and into the playoffs with some much-needed momentum.

Crabtree caught touchdown passes of 49 and 7 yards and finished with a career-high 172 yards on eight receptions, leading the 49ers to another rout of Arizona after a slow start.

Colin Kaepernick threw for a career-best 276 yards and two TDs as the Niners (11-4-1) did their part to control their postseason fate – then waited all of about 15 minutes to watch Minnesota beat Green Bay and give San Francisco the NFC's No. 2 seed and a week off before hosting a divisional playoff game.

"It was a lot harder this time around to get it," said safety Donte Whitner, his new hat on backward. "We were the target this year and got everybody's best shot. To come out and still win our division and have the opportunity to get a first-round bye is tremendous."

Frank Gore ran for a 2-yard score early in the fourth quarter for his franchise-best 51st touchdown rushing, breaking a tie with mentor Roger Craig and late Hall of Famer Joe Perry.

With yet another new face under center, the Cardinals (5-11) lost for the 11th time in their last 12 games in what might have been Ken Whisenhunt's final game as coach. Brian Hoyer went 19 of 34 for 225 yards and a late TD toss in his first NFL start as Arizona's fourth quarterback this season.

He couldn't keep up with Crabtree and Kaepernick.

Crabtree's outstanding outing was the best by a 49ers receiver since Terrell Owens' 166-yard performance on Nov. 25, 2002, against Philadelphia.

"My dude made it happen," Crabtree said, looking at Kaepernick. "I'm really focused on these playoffs."

Crabtree caught a 31-yard pass to set up his team-leading eighth TD reception on the next play. The sequence put him over 1,000 yards, giving San Francisco its first 1,000-yard receiver since T.O. in 2003.

On the next series, Crabtree made a pretty, one-handed grab with his right hand along the left sideline on third-and-11 for a 19-yard gain and first down. He made a 14-yard catch on fourth down late in the third, and later converted another fourth down with a reception of 7 yards.

What a boost for an injury-depleted receiving corps missing Mario Manningham for the rest of the season because of a knee injury. Plus, tight end Vernon Davis was limited a week after sustaining a concussion.

Struggling San Francisco kicker David Akers missed wide left on a 44-yard field goal attempt midway through the second quarter, then did it again with nearly the same kick – from 40 yards this time – 24 seconds before halftime. Akers put his hands on his knees and closed his eyes in frustration as boos rained down from the sellout crowd at Candlestick Park.

He missed for the fourth time in his last eight spanning three games and 13th time in 40 tries after setting an NFL single-season record with 44 field goals in 52 attempts last year. Akers bounced back by nailing one from 43 yards early in the second half but was later clipped in his kicking foot by Arizona's Justin Bethel. Akers stayed in the game, then booted a 26-yard field goal with just more than 9 minutes remaining.

Coach Jim Harbaugh didn't rule out a change.

"We'll evaluate that," he said. "It's his job to make the kicks."

Hoyer exhibited poise in the early moments. He completed seven of his first 13 passes and three straight – for 7, 15 and 12 yards – during one drive as Arizona took a 3-0 lead on Jay Feely's 35-yard field goal late in the first quarter. Feely added a 31-yarder early in the second to make it 6-0.

The Cardinals outgained the 49ers 129-15 in the opening quarter and held San Francisco without a first down.

But that didn't last long.

The Cardinals ended a six-game stretch without a touchdown pass when Hoyer hit Michael Floyd on a late 37-yard score. Floyd had eight catches for 166 yards.

The Cardinals pounded the ball toward the right side of San Francisco's defensive line where Pro Bowler Justin Smith had been stout against the run all season before getting hurt two weeks ago. Now, San Francisco has an extra week for Smith to heal.

"Today's game kind of mirrored our season," Whisenhunt said. "I'm proud of the way our team's worked. You understand this is part of the business. We haven't won enough games this year."

Former starting quarterback Alex Smith made what could have been his final appearance in a 49ers uniform when he entered the game with 5:57 to go – playing to chants of "Let's Go, Alex!" and "Alex! Alex!"

Notes: Cardinals Pro Bowl CB Patrick Peterson was lost to a left hamstring injury in the fourth quarter. RG Pat McQuistan was sidelined in the first with an ankle injury and didn't return, while LB Paris Lenon injured his left hand in the second half. ... 49ers LB Aldon Smith went without a sack for the third straight game, winding up with 19 1/2 – three shy of Michael Strahan's single-season NFL record set in 2001 for the Giants.

___

Loading Slideshow...
  • Indianapolis Colts head coach Chuck Pagano acknowledges the fans after walking onto the field before an NFL football game against the Houston Texans, Sunday, Dec. 30, 2012, in Indianapolis. Pagano is back as coach after nearly three months of treatments for leukemia. (AP Photo/Michael Conroy)

  • Chuck Pagano

    Indianapolis Colts head coach Chuck Pagano is greeted by family members after walking onto the field before an NFL football game against the Houston Texans, Sunday, Dec. 30, 2012, in Indianapolis. Pagano is back as coach after nearly three months of treatments for leukemia. (AP Photo/AJ Mast)

  • Chuck Pagano

    Indianapolis Colts head coach Chuck Pagano, right, is hugged by general manager Ryan Grigson after walking onto the field before an NFL football game against the Houston Texans, Sunday, Dec. 30, 2012, in Indianapolis. (AP Photo/Michael Conroy)

  • Chuck Pagano

    Indianapolis Colts head coach Chuck Pagano signs autographs for fans before an NFL football game against the Houston Texans, Sunday, Dec. 30, 2012, in Indianapolis. (AP Photo/AJ Mast)

  • Chuck Pagano

    Indianapolis Colts head coach Chuck Pagano watches as the Colts prepare for an NFL football game against the Houston Texans, Sunday, Dec. 30, 2012, in Indianapolis. (AP Photo/Michael Conroy)

  • Chuck Pagano, Bruce Arians

    Indianapolis Colts head coach Chuck Pagano, right, watches during the first half of an NFL football game against the Houston Texans, Sunday, Dec. 30, 2012, in Indianapolis. Offensive coordinator Bruce Arians, left, looks on. (AP Photo/Darron Cummings)

  • Chan Gailey

    Buffalo Bills head coach Chan Gailey, second from left, and Bills players stand on the sidelines during a remembrance for the West Webster Fire Department firefighters who were ambushed while responding to a house fire on Dec. 24th before an NFL football game against the New York Jets, Sunday, Dec. 30, 2012, in Orchard Park, N.Y. (AP Photo/Bill Wippert)

  • Domenik Hixon

    New York Giants wide receiver Jerrel Jernigan (12), Spencer Paysinger (52) and Domenik Hixon (87) greet a contingent of teachers, parents, and students from Sandy Hook Elementary School in Newtown, Conn., before an NFL football game Sunday, Dec. 30, 2012, in East Rutherford, N.J. The school was the site of a mass shooting on Dec. 14. (AP Photo/Peter Morgan)

  • Rueben Randle, Nnamdi Asomugha

    New York Giants wide receiver Rueben Randle (82) catches a pass as Philadelphia Eagles cornerback Nnamdi Asomugha (24) defends during the first half of an NFL football game on Sunday, Dec. 30, 2012, in East Rutherford, N.J. (AP Photo/Kathy Willens)

  • Matt Schaub

    Houston Texans' Matt Schaub (8) throws during the first half of an NFL football game against the Indianapolis Colts, Sunday, Dec. 30, 2012, in Indianapolis. (AP Photo/AJ Mast)

  • Mike Williams

    Tampa Bay Buccaneers wide receiver Mike Williams (19) makes a touch-down catch during the first half of an NFL football game against the Atlanta Falcons, Sunday, Dec. 30, 2012, in Atlanta. (AP Photo/David Goldman)

  • Andy Dalton

    Cincinnati Bengals quarterback Andy Dalton (14) passes against the Baltimore Ravens in the first half of an NFL football game on Sunday, Dec. 30, 2012, in Cincinnati. (AP Photo/Tom Uhlman)

  • Justin Blackmon, Tommie Campbell

    Jacksonville Jaguars wide receiver Justin Blackmon (14) beats Tennessee Titans defensive back Tommie Campbell (37) to the end zone to score a touchdown on a 30-yard pass play in the second quarter of an NFL football game on Sunday, Dec. 30, 2012, in Nashville, Tenn. (AP Photo/Joe Howell)

  • Mike Smith

    Atlanta Falcons head coach Mike Smith speaks with Atlanta Falcons wide receiver Harry Douglas (83) during the first half of an NFL football game against the Tampa Bay Buccaneers, Sunday, Dec. 30, 2012, in Atlanta. (AP Photo/John Bazemore)

  • DeAngelo Williams

    Carolina Panthers' DeAngelo Williams (34) breaks away for a 65-heard run during the first half of an NFL football game against the New Orleans Saints Sunday, Dec. 30, 2012, in New Orleans. (AP Photo/Dave Martin)

  • LaRon Landry, C.J. Spiller

    New York Jets free safety LaRon Landry (30) moves in for a tackle on Buffalo Bills running back C.J. Spiller (28) during the first half an NFL football game on Sunday, Dec. 30, 2012, in Orchard Park, N.Y. (AP Photo/Mel Evans)

  • Reggie Wayne, Glover Quin

    Indianapolis Colts' Reggie Wayne (87) is tackled by Houston Texans' Glover Quin (29) during the first half of an NFL football game on Sunday, Dec. 30, 2012, in Indianapolis. (AP Photo/AJ Mast)

  • Kyle Wilson, C.J. Spiller

    New York Jets cornerback Kyle Wilson (20) tries to run down Buffalo Bills running back C.J. Spiller (28) during the first half an NFL football game on Sunday, Dec. 30, 2012, in Orchard Park, N.Y. (AP Photo/Mel Evans)

  • Chris Crocker, Jacoby Jones

    Baltimore Ravens wide receiver Jacoby Jones (12) is tackled by Cincinnati Bengals strong safety Chris Crocker (33) after a short gain in the first half of an NFL football game on Sunday, Dec. 30, 2012, in Cincinnati. (AP Photo/Al Behrman)

  • Jason Snelling,Mark Barron

    Atlanta Falcons fullback Jason Snelling (44) runs as Tampa Bay Buccaneers strong safety Mark Barron (24) makes the tackle during the first half of an NFL football game Sunday, Dec. 30, 2012, in Atlanta. (AP Photo/David Goldman)

  • Danieal Manning, Dwayne Allen

    Indianapolis Colts' Dwayne Allen (83) is tackled by Houston Texans' Danieal Manning (38) during the first half of an NFL football game on Sunday, Dec. 30, 2012, in Indianapolis. (AP Photo/AJ Mast)

  • Mark Sanchez, Kyle Williams

    New York Jets quarterback Mark Sanchez (6) is pressured by Buffalo Bills defensive tackle Kyle Williams (95) during the first half of an NFL football game on Sunday, Dec. 30, 2012, in Orchard Park, N.Y. (AP Photo/Bill Wippert)

  • Andrew Luck, Whitney Mercilus

    Indianapolis Colts' Andrew Luck (12) throws while pressured by Houston Texans' Whitney Mercilus (59) during the first half of an NFL football game on Sunday, Dec. 30, 2012, in Indianapolis. (AP Photo/Darron Cummings)

  • Chris Johnson

    Tennessee Titans running back Chris Johnson (28) celebrates after scoring a touchdown on a 2-yard run against the Jacksonville Jaguars in the first quarter of an NFL football game on Sunday, Dec. 30, 2012, in Nashville, Tenn. (AP Photo/Wade Payne)

  • Lawrence Timmons, Thad Lewis

    Pittsburgh Steelers inside linebacker Lawrence Timmons (94) hits Cleveland Browns quarterback Thad Lewis as Lewis passes in the first quarter an NFL football game on Sunday, Dec. 30, 2012, in Pittsburgh. (AP Photo/Don Wright)

  • Joe Flacco

    Baltimore Ravens quarterback Joe Flacco (5) passes against the Cincinnati Bengals in the first half of an NFL football game on Sunday, Dec. 30, 2012, in Cincinnati. (AP Photo/Al Behrman)

  • Ben Roethlisberger, Jabaal Sheard

    Pittsburgh Steelers quarterback Ben Roethlisberger (7) passes over Cleveland Browns defensive end Jabaal Sheard (97) in the first quarter of an NFL football game on Sunday, Dec. 30, 2012, in Pittsburgh. (AP Photo/Don Wright)

  • Jordan Shipley

    Jacksonville Jaguars wide receiver Jordan Shipley runs untouched into the end zone as he scores a touchdown on a 5-yard pass play against the Tennessee Titans in the first quarter of an NFL football game on Sunday, Dec. 30, 2012, in Nashville, Tenn. (AP Photo/Wade Payne)

  • LeSean McCoy

    Philadelphia Eagles running back LeSean McCoy (25) stiff-arms New York Giants defensive end Jason Pierre-Paul (90) during the first half of an NFL football game on Sunday, Dec. 30, 2012, in East Rutherford, N.J. (AP Photo/Bill Kostroun)

  • Coby Fleener

    Indianapolis Colts' Coby Fleener reacts after scoring on a 1-yard touchdown reception during the first half of an NFL football game against the Houston Texans, Sunday, Dec. 30, 2012, in Indianapolis. (AP Photo/Michael Conroy)

  • Matthew Stafford, Julius Peppers

    Detroit Lions quarterback Matthew Stafford (9) looks downfield while chased by Chicago Bears defensive end Julius Peppers (90) during the first quarter of an NFL football game at Ford Field in Detroit, Sunday, Dec. 30, 2012. (AP Photo/Carlos Osorio)

  • T.Y. Hilton, Quintin Demps

    Indianapolis Colts' T.Y. Hilton (13) makes a 70-yard touchdown reception against Houston Texans' Quintin Demps (27) during the second half of an NFL football game, Sunday, Dec. 30, 2012, in Indianapolis. (AP Photo/Michael Conroy)

  • Henry Hynoski

    New York Giants fullback Henry Hynoski (45) catches a pass for a touchdown as Philadelphia Eagles cornerback Dominique Rodgers-Cromartie (23) defends him during the second half of an NFL football game, Sunday, Dec. 30, 2012, in East Rutherford, N.J. (AP Photo/Kathy Willens)

  • Russell Wilson

    Seattle Seahawks quarterback Russell Wilson passes during warm-ups before an NFL football game against the St. Louis Rams, Sunday, Dec. 30, 2012, in Seattle. (AP Photo/Elaine Thompson)

  • Tom Brady

    New England Patriots quarterback Tom Brady shouts as he takes the field before an NFL football game against the Miami Dolphins in Foxborough, Mass., Sunday, Dec. 30, 2012. (AP Photo/Charles Krupa)

  • Louis Murphy, Johnny Patrick

    New Orleans Saints' Johnny Patrick (32) breaks up a pass intended for Carolina Panthers' Louis Murphy (83) during the second half of an NFL football game Sunday, Dec. 30, 2012, in New Orleans. (AP Photo/Dave Martin)

  • Ryan Fitzpatrick, Muhammad Wilkerson

    Buffalo Bills quarterback Ryan Fitzpatrick (14) throws a pass under as New York Jets defensive end Muhammad Wilkerson (96) tries to make a tackle during the second half of an NFL football game on Sunday, Dec. 30, 2012, in Orchard Park, N.Y. (AP Photo/Gary Wiepert)

  • Deji Karim

    Indianapolis Colts' Deji Karim, left, runs back a kickoff 101-yards for a touchdown during the second half of an NFL football game against the Houston Texans Sunday, Dec. 30, 2012, in Indianapolis. (AP Photo/AJ Mast)

  • Antonio Brown

    Pittsburgh Steelers wide receiver Antonio Brown (84) makes a catch for a touchdown in the third quarter of an NFL football game against the Cleveland Browns in Pittsburgh, Sunday, Dec. 30, 2012. (AP Photo/Gene J. Puskar)

  • Antonio Brown, Leonard Pope

    Pittsburgh Steelers wide receiver Antonio Brown (84) and tight end Leonard Pope (45) celebrate after Brown made a touchdown catch in the third quarter of an NFL football game against the Cleveland Browns in Pittsburgh, Sunday, Dec. 30, 2012. (AP Photo/Gene J. Puskar)

  • Andy Dalton, Dannell Ellerbe

    Cincinnati Bengals quarterback Andy Dalton (14) avoids a sack by Baltimore Ravens inside linebacker Dannell Ellerbe in the first half of an NFL football game, Sunday, Dec. 30, 2012, in Cincinnati. (AP Photo/Tom Uhlman)

  • Zach Brown, Tommie Campbell, Toney Clemons

    Tennessee Titans linebacker Zach Brown (55) intercepts a pass intended for Jacksonville Jaguars wide receiver Toney Clemons (17) in the third quarter of an NFL football game, Sunday, Dec. 30, 2012, in Nashville, Tenn. Brown ran the interception back 30 yards for a touchdown. Also defending is Titans' Tommie Campbell (37). (AP Photo/Joe Howell)

  • Ryan Tannehill

    Miami Dolphins quarterback Ryan Tannehill warms up before an NFL football game against the New England Patriots in Foxborough, Mass., Sunday, Dec. 30, 2012. (AP Photo/Elise Amendola)

  • Doug Martin

    Tampa Bay Buccaneers running back Doug Martin (22) runs the ball alone on his way for a touchdown during the second half of an NFL football game against the Atlanta Falcons, Sunday, Dec. 30, 2012, in Atlanta. (AP Photo/David Goldman)

  • Will Heller, Major Wright

    Detroit Lions tight end Will Heller (89), defended by Chicago Bears strong safety Major Wright (21), falls into the end zone for a touchdown during the third quarter of an NFL football game at Ford Field in Detroit, Sunday, Dec. 30, 2012. (AP Photo/Rick Osentoski)

  • Asante Samuel

    Atlanta Falcons cornerback Asante Samuel (22) reacts to an interception he made against the Tampa Bay Buccaneers during the second half of an NFL football game Sunday, Dec. 30, 2012, in Atlanta. (AP Photo/David Goldman)

  • Will Heller, Calvin Johnson

    Detroit Lions tight end Will Heller (89) is congratulated by teammate wide receiver Calvin Johnson (81) after his touchdown during the third quarter of an NFL football game against the Chicago Bears at Ford Field in Detroit, Sunday, Dec. 30, 2012. (AP Photo/Rick Osentoski)

  • Arian Foster

    Houston Texans' Arian Foster (23) celebrates with his teammates following a 13-yard touchdown run during the second half of an NFL football game against the Indianapolis Colts, Sunday, Dec. 30, 2012, in Indianapolis. (AP Photo/Michael Conroy)

  • Eli Manning

    New York Giants quarterback Eli Manning (10) reacts after throwing a toucdown pass to Rueben Randle during the first half of an NFL football game against the Philadelphia Eagles, Sunday, Dec. 30, 2012, in East Rutherford, N.J. (AP Photo/Bill Kostroun)

  • Greg Little

    Cleveland Browns wide receiver Greg Little (15) makes a catch in the back of the end zone for a touchdown in the third quarter of an NFL football game against the Pittsburgh Steelers in Pittsburgh, Sunday, Dec. 30, 2012. (AP Photo/Gene J. Puskar)

  • Thad Lewis, James Harrison

    Cleveland Browns quarterback Thad Lewis (9) throws for a touchdown pass as Pittsburgh Steelers outside linebacker James Harrison (92) applies pressure in the third quarter of an NFL football game in Pittsburgh, Sunday, Dec. 30, 2012. Harrison was penalized for roughing the passer on the play. (AP Photo/Gene J. Puskar)