Go Pro Sign Up Login

Buy Now and unlock this series

$

49

.99

$

39

.99

yours forever

Become a Pro and unlock everything

$

24

.99

per month

Redirects

In this video Scott covers redirects - what happens when a users lands on a page that doesn't exist?

console.log(params.show?.length);

import { padNumber } from "~/utils/pad";

let showNumber = params.show if (showNumber.length < 3 ) showNumber = padNumber(showNumber) redirect(/syntax/${showNumber}, 301);

Downloads

Become a pro to download code and videos

Comments

Want to join the conversation?

Become a Pro member today!