diff --git a/app/components/BlogSection.jsx b/app/components/BlogSection.jsx index 148d544..b3be5b0 100644 --- a/app/components/BlogSection.jsx +++ b/app/components/BlogSection.jsx @@ -9,7 +9,7 @@ function BlogSection() { { title: "تمرین تنفسی برای کاهش استرس", subtitle: "تکنیک‌های ساده تنفسی برای کاهش فوری استرس و اضطراب", - link: "https://aaramland.ir/blog/tmryn-tnfsy-bry-khhsh-strs.html", + link: "https://aramejan.com/blog/tmryn-tnfsy-bry-khhsh-strs.html", readTime: "۵ دقیقه", date: "۱۴۰۴/۱/۱۵", category: "سلامت روان", @@ -19,7 +19,7 @@ function BlogSection() { { title: "مدیتیشن چیست و چگونه شروع کنیم؟", subtitle: "راهنمای کامل برای شناخت مدیتیشن و شروع این سفر زیبا", - link: "https://aaramland.ir/blog/mdytyshn-chyh.html", + link: "https://aramejan.com/blog/mdytyshn-chyh.html", readTime: "۷ دقیقه", date: "۱۴۰۴/۱۰/۱۰", category: "آموزش", @@ -29,7 +29,7 @@ function BlogSection() { { title: "مدیتیشن چیست و چگونه زندگی‌ات را متحول می‌کند؟", subtitle: "راهنمای کامل برای شناخت انواع مدیتیشن", - link: "https://aaramland.ir/blog/khls-shdn-z-strs-b-arm-lnd.html", + link: "https://aramejan.com/blog/khls-shdn-z-strs-b-arm-lnd.html", readTime: "۸ دقیقه", date: "۱۴۰۴/۱۰/۰۵", category: "تحول شخصی", @@ -113,7 +113,7 @@ function BlogSection() { {/* View All Button */}
مشاهده همه مقالات diff --git a/app/components/DownloadSection.jsx b/app/components/DownloadSection.jsx index 7709d0e..db12083 100644 --- a/app/components/DownloadSection.jsx +++ b/app/components/DownloadSection.jsx @@ -26,7 +26,7 @@ function DownloadSection() { icon: './images/appstore.png', title: "وب سایت", description: "نسخه وب برای تمام دستگاه‌ها", - link: 'https://aaramland.ir/web/', + link: 'https://aramejan.com/web/', badge: "", gradient: "from-primary-500/10 to-primary-600/10", animation: "animate-slideInRight delay-300", diff --git a/app/components/Header.jsx b/app/components/Header.jsx index e515583..f87c23c 100644 --- a/app/components/Header.jsx +++ b/app/components/Header.jsx @@ -40,7 +40,7 @@ function Header() { key={item.id} onClick={() => { if (item.id === 'blog') { - window.open('https://aramland.approagency.ir/blog/', '_self'); + window.open('https://aramejan.com/blog/', '_self'); } else { handleNavClick(item.id); } @@ -85,7 +85,7 @@ function Header() { key={item.id} onClick={() => { if (item.id === 'blog') { - window.open('https://aramland.approagency.ir/blog/', '_self'); + window.open('https://aramejan.com/blog/', '_self'); } else { handleNavClick(item.id); } diff --git a/app/components/SEOHead.jsx b/app/components/SEOHead.jsx index 8400a64..0853d41 100644 --- a/app/components/SEOHead.jsx +++ b/app/components/SEOHead.jsx @@ -5,7 +5,7 @@ export function SEOHead({ canonical, ogImage = '' }) { - const siteUrl = 'https://aramland.approagency.ir/'; + const siteUrl = 'https://aramejan.com'; return ( <> @@ -19,14 +19,14 @@ export function SEOHead({ - + {/* Twitter */} - + ); diff --git a/app/layout.tsx b/app/layout.tsx index f96fccf..ec0c577 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -8,7 +8,7 @@ export const metadata: Metadata = { authors: [{ name: 'آرام جان' }], creator: 'آرام جان', publisher: 'آرام جان', - metadataBase: new URL('https://aramland.approagency.ir/'), + metadataBase: new URL('https://aramejan.com'), formatDetection: { email: false, address: false, @@ -26,7 +26,7 @@ export const metadata: Metadata = { openGraph: { title: 'آرام جان - دستیار آرامش و مدیتیشن فارسی', description: 'اپلیکیشن آرام جان - همراه شما برای رسیدن به آرامش درونی با مدیتیشن‌های فارسی و تمرین‌های تنفسی', - url: 'https://aramland.approagency.ir/', + url: '/', siteName: 'آرام جان', images: [ { @@ -100,7 +100,7 @@ export default function RootLayout({ }, "name": "آرام جان", "description": "اپلیکیشن آرام جان - همراه شما برای رسیدن به آرامش درونی با مدیتیشن‌های فارسی و تمرین‌های تنفسی", - "url": "https://aramland.approagency.ir/", + "url": "https://aramejan.com/", "applicationCategory": "HealthApplication", "operatingSystem": "Android, iOS, Web", "offers": { diff --git a/app/robots.txt b/app/robots.txt index cd75c85..0308fb8 100644 --- a/app/robots.txt +++ b/app/robots.txt @@ -5,7 +5,7 @@ Disallow: /api/ Disallow: /_next/ Disallow: /private/ -Sitemap: https://aramland.approagency.ir/sitemap.xml +Sitemap: https://aramejan.com/sitemap.xml # Iranian search engines User-agent: YoozBot diff --git a/app/sitemap.js b/app/sitemap.js index d5eff60..6b3a82f 100644 --- a/app/sitemap.js +++ b/app/sitemap.js @@ -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' }]; -} \ No newline at end of file