chore(seo): point shop canonical/sitemap/llms to shop.yslootahrobotics.com
This commit is contained in:
+2
-2
@@ -2,11 +2,11 @@ import type { Metadata, Viewport } from "next";
|
||||
import { ErrorBoundary } from "@/components/ErrorBoundary";
|
||||
import { I18nProvider } from "@/components/I18nProvider";
|
||||
import JsonLd from "@/components/JsonLd";
|
||||
import { OG_IMAGE, siteName, organizationJsonLd, websiteJsonLd } from "@/lib/seo";
|
||||
import { SITE_URL, OG_IMAGE, siteName, organizationJsonLd, websiteJsonLd } from "@/lib/seo";
|
||||
import "./globals.css";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
metadataBase: new URL('https://yslootahrobotics.com'),
|
||||
metadataBase: new URL(SITE_URL),
|
||||
title: {
|
||||
default: 'YS Lootah Robotics UAE Destination for Unitree & Pudu Robotics',
|
||||
template: '%s | YS Lootah Robotics',
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
// Central SEO config + structured-data builders for the shop.
|
||||
export const SITE_URL = (process.env.NEXT_PUBLIC_SITE_URL || 'https://yslootahrobotics.com').replace(/\/$/, '');
|
||||
export const SITE_URL = (process.env.NEXT_PUBLIC_SITE_URL || 'https://shop.yslootahrobotics.com').replace(/\/$/, '');
|
||||
|
||||
// Canonical page URLs (trailingSlash: true in next.config).
|
||||
export const canonical = (path = '/') => {
|
||||
|
||||
Reference in New Issue
Block a user