You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's no redirection handling within this plugin. https://github.com/leonstafford/wp2static has support for redirect handling, but that will depend on where you're deploying to, as each static host may handle differently.
You mentioned .htaccess, so I assume that you want to host your static site on another Apache server?
I may get to redirect support in the future, but for now, I'd propose manually creating the redirect rules for the URLs you are aware of. You may be able to grab all the _wp_old_slug entries from the WordPress database to help if there's a lot.
If you want a smoother experience for redirects, I can recommend Strattic, the company I now work for, who have a complete end to end WordPress to static site hosting/publishing platform with redirect support. If you're interested in that, there's a free trial and our team's really nice at onboarding people.
leonstafford
changed the title
handling _wp_old_slug ?
Redirecting based on _wp_old_slug ?
Aug 15, 2021
Is there any code that processes the meta key
_wp_old_slug
?Perhaps it could be a simple HTML redirect (like refresh) or output for .htaccess.
The text was updated successfully, but these errors were encountered: