Forcing Next.js to ignore a specific directory on the server #14222
Unanswered
leo-petrucci
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm currently trying to proxypass my Wordpress Admin panel located on a subdomain to a subdirectory on the domain where my Next.js App is running. Unfortunately no matter what I do, Next.js overrides Apache and will show me its default 404 error if I visit
/wp-admin
.I could have my Apache settings wrong, but nonetheless, is there a way to make Next.js completely ignore a directory and let the request be handled by Apache instead?
Beta Was this translation helpful? Give feedback.
All reactions