This commit is contained in:
payacom
2026-07-28 10:06:42 +03:30
parent a1d7db5e7e
commit 67f59eefdf
129 changed files with 7964 additions and 1561 deletions

View File

@@ -1,36 +1,43 @@
import { MetadataRoute } from 'next'
import type { MetadataRoute } from "next";
import { SITE_URL } from "@/lib/sitemap/config";
export default function robots(): MetadataRoute.Robots {
return {
rules: {
userAgent: '*',
allow: [
'/',
'/videos',
'/billboards',
'/users/',
'/posts',
'/projects',
'/academy',
'/explore',
'/about-us',
],
disallow: [
'/api/',
'/_next/',
'/settings',
'/auth',
'/private/',
'/new-post',
'/new-project',
'/search',
'/*/payment/',
'/verify/',
'/register',
'/login',
'/*?*',
],
},
sitemap: 'https://modstagram.com/sitemap.xml',
}
rules: [
{
userAgent: "*",
allow: ["/"],
disallow: [
"/api/",
"/_next/",
"/settings",
"/settings/",
"/auth",
"/private/",
"/new-post",
"/new-project",
"/billboards/new",
"/search",
"/verify/",
"/register",
"/register/",
"/login",
"/login-with-username",
"/login-2fa",
"/verify-otp",
"/forget-password",
"/forget-password-otp",
"/change-passowrd",
"/offer",
"/offer/",
"/*/payment/",
"/projects/payment/",
"/billboards/payment/",
"/academy/payment/",
],
},
],
sitemap: `${SITE_URL}/sitemap.xml`,
host: SITE_URL,
};
}