- next.config.ts: enable trailingSlash:true so Next.js generates /page/index.html instead of /page.html, enabling Apache DirectoryIndex to serve clean URLs - Rename src/app/legal/ to src/app/policies/ because cPanel/Apache blocks the /legal/ URL path (returns 403 regardless of file permissions) - Update Footer.tsx and terms page links from /legal/ to /policies/ - .htaccess: add DirectoryIndex directive for subdirectory index.html serving - All 15 pages verified live on dashcaddy.net returning HTTP 200
7 lines
126 B
TypeScript
7 lines
126 B
TypeScript
const nextConfig = {
|
|
output: "export",
|
|
trailingSlash: true,
|
|
images: { unoptimized: true }
|
|
};
|
|
export default nextConfig;
|