How do I ensure search engines get the name of my website correctly?
Unanswered
Almond stone wasp posted this in #help-forum
Almond stone waspOP
I recently added my website to Google Search Console and Bing Web Master Tools. Some of the pages were successfully indexed, but the search engines are not displaying the website's name correctly. The name should be "DataSphere Research Limited," but the search engines are displaying "datasphereresearch.com" (the website's domain). I have added relevant structured data (JSON-LD) and metadata to the layout.tsx file but the issue remains unsolved.
const jsonLd: WithContext<Organization> = {
"@context": "https://schema.org",
"@type": "Organization",
name: "DataSphere Research Limited",
url: "https://www.datasphereresearch.com/",
logo: "https://www.datasphereresearch.com/logo1.jpg", // Replace with your actual logo URL
address: {
"@type": "PostalAddress",
streetAddress: "0100",
addressLocality: "Nairobi",
addressRegion: "Nairobi",
postalCode: "00400",
addressCountry: "Kenya",
},
contactPoint: {
"@type": "ContactPoint",
telephone: "+254794 508 936",
contactType: "customer service",
},
};
export const metadata: Metadata = {
metadataBase: new URL("https://www.datasphereresearch.com/"),
keywords: [],
title: {
default: "DataSphere Research | Market Research and Survery Solutions",
template: "%s - DataSphere Research",
},
description:
"",
icons: {
icon: "/favicon.ico",
}
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="en">
<Script
id="organization-schema"
type="application/ld+json"
dangerouslySetInnerHTML={{
__html: JSON.stringify(jsonLd),
}}
/>
<body className={
<header>
<Navbar />
</header>
<ScrollToTop />
{children}
<footer>
<Footer />
</footer>
</body>
</html>
);
}
const jsonLd: WithContext<Organization> = {
"@context": "https://schema.org",
"@type": "Organization",
name: "DataSphere Research Limited",
url: "https://www.datasphereresearch.com/",
logo: "https://www.datasphereresearch.com/logo1.jpg", // Replace with your actual logo URL
address: {
"@type": "PostalAddress",
streetAddress: "0100",
addressLocality: "Nairobi",
addressRegion: "Nairobi",
postalCode: "00400",
addressCountry: "Kenya",
},
contactPoint: {
"@type": "ContactPoint",
telephone: "+254794 508 936",
contactType: "customer service",
},
};
export const metadata: Metadata = {
metadataBase: new URL("https://www.datasphereresearch.com/"),
keywords: [],
title: {
default: "DataSphere Research | Market Research and Survery Solutions",
template: "%s - DataSphere Research",
},
description:
"",
icons: {
icon: "/favicon.ico",
}
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="en">
<Script
id="organization-schema"
type="application/ld+json"
dangerouslySetInnerHTML={{
__html: JSON.stringify(jsonLd),
}}
/>
<body className={
${dosis_init.variable} antialiased
}><header>
<Navbar />
</header>
<ScrollToTop />
{children}
<footer>
<Footer />
</footer>
</body>
</html>
);
}