#Rewrite to a Wordpress blog
1 messages · Page 1 of 1 (latest)
Hi @finite kernel. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
The issue you're experiencing might be due to the configuration of your deployment environment or the server where your WordPress blog is hosted. The 400 error typically indicates a bad request, which means the server was unable to understand or process the request.
Unfortunately, the provided knowledge sources do not contain specific information about troubleshooting this issue in a deployment environment or with a WordPress blog.
However, here are a few general suggestions:
- Ensure that the destination server (in this case, your WordPress blog) is set up to handle the incoming rewrites correctly.
- If you're using
trailingSlash: true, you also need to insert a trailing slash in thesourceparameter. If the destination server is also expecting a trailing slash it should be included in thedestinationparameter as well. source (https://nextjs.org/docs/app/api-reference/next-config-js/rewrites#rewriting-to-an-external-url) - Check the logs of your deployment environment and your WordPress server for any error messages that could give you more information about the issue.