Planning

I Made A URL Generator In Notion

Screen Shot 2020-02-20 at 11.10.10 AM.png

โŒจ๏ธ Automate URLs

This Notion template is intended for website owners looking for a quick URL generator. I've been using this generator as a means to change my url archive in Notion as changes may occur (ie. url modifications due to post-title change). It can also be useful to prepare urls before publishing.

There are two URL generator examples below. One requires only a title and another plays with a multi-property url which includes category, date and title. This second database also identifies if a keyword is being used in the url or not.

I use the following formula functions:

Basic URL Generator w/ Title Formula

Manual Labor โ†’ insert your website inside formula.

"www.redgregory.com/" + replaceAll(prop("TITLE"), " ", "-")

ezgif.com-video-to-gif (6).gif

URL Generator w/ Date, Category, Title Formula

Manual Labor โ†’ insert your website inside formula โ†’

"www.redgregory.com/" + prop("Category") + "/" + formatDate(prop("Date"), "M/D/YY") + "/" + replaceAll(prop("TITLE"), " ", "-")

Keyword Check Formula

Manual Labor โ†’ insert keyword to check inside Keyword property

contains(prop("URL"), prop("Keyword"))

Screen Shot 2020-02-20 at 7.43.37 PM.png