convert-next.js

This commit is contained in:
R-Bharathraj
2026-06-29 18:07:43 +05:30
parent 4760f8e063
commit 0140b0bdf8
1474 changed files with 16523 additions and 9272 deletions

90
next.config.ts Normal file
View File

@@ -0,0 +1,90 @@
import type { NextConfig } from "next";
const nextConfig: NextConfig = {
async redirects() {
return [
{
source: '/loyaly_php/index.php',
destination: '/',
permanent: true,
},
{
source: '/index.php',
destination: '/',
permanent: true,
},
{
source: '/loyaly_php/about_us.php',
destination: '/about_us',
permanent: true,
},
{
source: '/about_us.php',
destination: '/about_us',
permanent: true,
},
{
source: '/loyaly_php/use_cases.php',
destination: '/use_cases',
permanent: true,
},
{
source: '/use_cases.php',
destination: '/use_cases',
permanent: true,
},
{
source: '/loyaly_php/solutions_page.php',
destination: '/solutions_page',
permanent: true,
},
{
source: '/solutions_page.php',
destination: '/solutions_page',
permanent: true,
},
{
source: '/loyaly_php/blog_main.php',
destination: '/blog_main',
permanent: true,
},
{
source: '/blog_main.php',
destination: '/blog_main',
permanent: true,
},
{
source: '/loyaly_php/blog_single_page.php',
destination: '/blog_single_page',
permanent: true,
},
{
source: '/blog_single_page.php',
destination: '/blog_single_page',
permanent: true,
},
{
source: '/loyaly_php/contacts.php',
destination: '/contacts',
permanent: true,
},
{
source: '/contacts.php',
destination: '/contacts',
permanent: true,
},
{
source: '/loyaly_php/faq.php',
destination: '/faq',
permanent: true,
},
{
source: '/faq.php',
destination: '/faq',
permanent: true,
},
];
},
};
export default nextConfig;