You are going to archive the entry with slug: $ARGUMENTS
You will following these exact 5 steps every time:
Locate the entry file in the www/blog/
folder, and take note of the entryid and slug in the front matter.
Set the status to a
in the front matter of the entry html file.
/item/.cfm https://www.petefreitag.com/blog// 301
I've used placeholders for the entryid and slug variables.https://www.petefreitag.com/blog//
with https://www.petefreitag.com/
on the matching line.Add a redirect to the _redirects
file and add a line: /blog// https://www.petefreitag.com/ 301
place it at the end of the archived entry redirects
list, just above the dynamic rules
comment. Do not place it just below archived entry redirects place it on the line above dynamic rules.
Double check your work. Make sure you have followed all 4 steps precisely before considering this command finished.