When I was publishing my Integrating Frontend with Backend series, I published some of my articles out of order. Unfortunately, Medium does not offer a way for me to rearrange my articles or edit their dates, so they’re stuck like that forever.
Luckily, there is a way to create an entirely new post, but with it’s date set at a previous one. In this tutorial, I’ll show you how to “backdate” your Medium articles so that you can publish your articles back in time.
Backdating Your Medium Articles
- Clone or fork this GitHub repository I’ve setup for you: https://github.com/kevinMEH/medium-import
- Determine the date and time you’d like your article to be published on. Convert that date and time into the ISO 8601 time format.
- You can use this site here: scroll down to the UTC or Your Time Zone section, and put in the desired date and time. Any other site is fine as long as it gives the correct format.
- Go inside
backdate.html. At the top of the page, inside the <head> tag, you’ll find a <meta> tag with a “content” attribute. Paste and replace the placeholder time inside the content attribute with the time you found in step 2.
- Setup GitHub pages for your repository, so that we can access the HTML page on the internet: Go to Settings > Pages > Source > main, and then press Save.
- Wait a few minutes for GitHub pages to build and be setup, and then access your page by going to https://[username].github.io/[medium-import]/backdate.html
- (Replace [username] with your GitHub username, [medium-import] with the name of the repository, and if needed, backdate.html with the name of your HTML file.)
- Go to your stories page on Medium. Click Import a story. Enter in the link for your backdate.html page, and click Import.
🎉 And that’s it! You’ve just backdated a Medium post. If you enjoyed this tutorial, feel free to drop me a follow on here or on GitHub.