You are currently viewing ExpressJS Routing (P5D38) – Live Coding with Jesse

ExpressJS Routing (P5D38) – Live Coding with Jesse

  • Post comments:1 Comment

Project 5 Day 38: I need to make the URLs from the old site work with the new site as well. Today we are going to do some work with Express and NodeJS keep all the URLs working.

See a professional front-end developer at work. Unscripted. Mistakes included.

Next.js 5:

Project Repo:




Code Editor: Visual Studio Code
VS Code Theme: Seti
Project Management:

Learn to code for free and get a developer job:

Read hundreds of articles on programming:

And subscribe for new videos on technology every day:


This Post Has One Comment

  1. Cristian Rosescu

    You could just use your Apache .htaccess file to permanently redirect old URLs to new URLs like so:
    Options +FollowSymLinks
    RewriteEngine on
    RewriteRule ^photo/old-photo/?$ /photo/new-photo [NC,L,R=301]

    Or you could use Nginx to redirect the old URLs if you use that web server.

Leave a Reply