colinwalker
colinwalker

Some tweaks have been made and the comments are also being pulled in. We're getting closer.

The only issue with removing WordPress completely will be where there are direct links to old posts. I may need to look at redirects as a possible solution.

|
Embed
In reply to
jamesvandyne
jamesvandyne

@colinwalker Might be helpful, but maybe not since blog(n) displays posts by day. With Tanzawa each Wordpress post has its own record where I record the original wp url and a link to the Tanzawa post.

Then in my 404 handler, I lookup to see if the path matches any of my Wordpress paths and if it does I return a permanent redirect. A similar approach may work for you?

|
Embed
colinwalker
colinwalker

@jamesvandyne Thanks. I need to implement a 404 page — I'd completely forgotten about it. 🤦‍♂️ I may do something similar: export all post permalinks to a fresh table, add the new links then do a switcheroo. I'll need to see if I can automate the creation of the new links as it will be in a completely different format.

|
Embed
colinwalker
colinwalker

@jamesvandyne Thanks for the inspiration – 404 page and redirects sorted 👍

|
Embed
jamesvandyne
jamesvandyne

@colinwalker Awesome 👏🏻

|
Embed