fix: disallow tags in profile pages
This commit is contained in:
parent
06ae6495bb
commit
cf3b25727c
1 changed files with 12 additions and 1 deletions
|
|
@ -5,7 +5,18 @@ export default function robots(): MetadataRoute.Robots {
|
|||
rules: {
|
||||
userAgent: "*",
|
||||
allow: "/",
|
||||
disallow: ["/*?*page=", "/create-username", "/edit/*", "/profile/settings", "/random", "/submit", "/report/mii/*", "/report/user/*", "/admin"],
|
||||
disallow: [
|
||||
"/*?*page=",
|
||||
"/profile*?*tags=",
|
||||
"/create-username",
|
||||
"/edit/*",
|
||||
"/profile/settings",
|
||||
"/random",
|
||||
"/submit",
|
||||
"/report/mii/*",
|
||||
"/report/user/*",
|
||||
"/admin",
|
||||
],
|
||||
},
|
||||
sitemap: `${process.env.NEXT_PUBLIC_BASE_URL}/sitemap.xml`,
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue