seo: unify domain to aramejan.com; real logo, favicon, og-image; assetlinks; fix canonical/sitemap/robots

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-07-15 09:00:18 +03:30
co-authored by Claude Opus 4.8
parent bf7706fb2d
commit ee81da8f70
7 changed files with 46 additions and 44 deletions
+32 -30
View File
@@ -1,6 +1,9 @@
// app/sitemap.js
// Required for `output: 'export'` so Next emits a static /sitemap.xml.
export const dynamic = 'force-static';
export default function sitemap() {
const baseUrl = 'https://aaramland.ir/';
const baseUrl = 'https://aramejan.com/';
return [
{
@@ -9,34 +12,33 @@ export default function sitemap() {
changeFrequency: 'weekly',
priority: 1,
},
{
url: `${baseUrl}blog/`,
lastModified: new Date(),
changeFrequency: 'weekly',
priority: 0.9,
},
{
url: `${baseUrl}blog/tmryn-tnfsy-bry-khhsh-strs.html`,
lastModified: new Date(),
changeFrequency: 'weekly',
priority: 0.8,
},
{
url: `${baseUrl}blog/mdytyshn-chyh.html`,
lastModified: new Date(),
changeFrequency: 'weekly',
priority: 0.7,
},
{
url: `${baseUrl}blog/khls-shdn-z-strs-b-arm-lnd.html`,
lastModified: new Date(),
changeFrequency: 'weekly',
priority: 0.6,
},
// ⬇️ مقالات بلاگ — بعد از اینکه بلاگ روی aramejan.com/blog/ منتشر شد،
// این‌ها را از کامنت خارج کن. تا وقتی بلاگ بالا نیامده، در سایت‌مپ نباشند
// تا در سرچ کنسول خطای «صفحه یافت نشد / 404» نگیری.
// {
// url: `${baseUrl}blog/`,
// lastModified: new Date(),
// changeFrequency: 'weekly',
// priority: 0.9,
// },
// {
// url: `${baseUrl}blog/tmryn-tnfsy-bry-khhsh-strs.html`,
// lastModified: new Date(),
// changeFrequency: 'monthly',
// priority: 0.8,
// },
// {
// url: `${baseUrl}blog/mdytyshn-chyh.html`,
// lastModified: new Date(),
// changeFrequency: 'monthly',
// priority: 0.7,
// },
// {
// url: `${baseUrl}blog/khls-shdn-z-strs-b-arm-lnd.html`,
// lastModified: new Date(),
// changeFrequency: 'monthly',
// priority: 0.6,
// },
];
}
// Add this export for static generation
export async function generateSitemaps() {
return [{ id: '0' }];
}