diff --git a/next.config.js b/next.config.js index d955d279..e88ad067 100644 --- a/next.config.js +++ b/next.config.js @@ -28,6 +28,10 @@ const nextConfig = { destination: '/_next/image?url=:url', has: [{ type: 'query', key: 'url', value: '(?.*[jpg|png|jpeg|gif]\?itok=([\\w|-]+)).*' }], }, + { + source: '/wp-:path*', + destination: '/not-found', + } ], }; },