static-html-output
static-html-output copied to clipboard
Does not export file _redirects
Hi I have add in root website folder a file named _redirects, but when export zip folder cannot export it. See attachment.

Hi @matteomantovani - sorry for the late reply. Until version 7, the Netlify API based deploy is publicly available in this repo, it includes the option to insert the contents of your Netlify _redirects file.
I'll fix this issue for an upcoming release, but in the meantime, if you're not using Netlify or want more flexibility, there are a few options:
- run via WP-CLI
wp wp2static generateyour custom script to add the _redirects file to export dirwp wp2static deploy
- Use the post-deploy hook: https://github.com/WP2Static/wp2static#post-deployment-hook