Skip to content

Full Toolkit for Next-Level Domain Analysis

Improve page titles 👌

Felix Wotschofsky001bd06d31a6
diff --git a/app/(landing)/certs/page.tsx b/app/(landing)/certs/page.tsx
index 163f095..24febfe 100644
--- a/app/(landing)/certs/page.tsx
+++ b/app/(landing)/certs/page.tsx
@@ -1,3 +1,4 @@
+import type { Metadata } from 'next';
import type { FC } from 'react';
import { SearchForm } from '../../_components/search-form';
@@ -7,8 +8,10 @@ import { TrustSection } from '../_components/trust-section';
export const revalidate = 86400; // 24 hours
-export const metadata = {
+export const metadata: Metadata = {
+ title: 'Certificate Search',
openGraph: {
+ title: 'Certificate Search',
url: '/certs',
},
alternates: {
diff --git a/app/(landing)/map/page.tsx b/app/(landing)/map/page.tsx
index c94b4ce..95b8df5 100644
--- a/app/(landing)/map/page.tsx
+++ b/app/(landing)/map/page.tsx
@@ -1,15 +1,17 @@
+import type { Metadata } from 'next';
import type { FC } from 'react';
import { SearchForm } from '../../_components/search-form';
import { AuthorSection } from '../_components/author-section';
-import { FeaturesSection } from '../_components/features-section';
import { SponsorsSection } from '../_components/sponsors-section';
import { TrustSection } from '../_components/trust-section';
export const revalidate = 86400; // 24 hours
-export const metadata = {
+export const metadata: Metadata = {
+ title: 'DNS Propagation Map',
openGraph: {
+ title: 'DNS Propagation Map',
url: '/',
},
alternates: {
diff --git a/app/(landing)/subdomains/page.tsx b/app/(landing)/subdomains/page.tsx
index 6dcc241..4566684 100644
--- a/app/(landing)/subdomains/page.tsx
+++ b/app/(landing)/subdomains/page.tsx
@@ -1,3 +1,4 @@
+import type { Metadata } from 'next';
import type { FC } from 'react';
import { SearchForm } from '../../_components/search-form';
@@ -7,8 +8,10 @@ import { TrustSection } from '../_components/trust-section';
export const revalidate = 86400; // 24 hours
-export const metadata = {
+export const metadata: Metadata = {
+ title: 'Subdomain Search',
openGraph: {
+ title: 'Subdomain Search',
url: '/subdomains',
},
alternates: {
diff --git a/app/(landing)/whois/page.tsx b/app/(landing)/whois/page.tsx
index 6a106d6..38e1633 100644
--- a/app/(landing)/whois/page.tsx
+++ b/app/(landing)/whois/page.tsx
@@ -1,3 +1,4 @@
+import type { Metadata } from 'next';
import type { FC } from 'react';
import { SearchForm } from '../../_components/search-form';
@@ -7,8 +8,10 @@ import { TrustSection } from '../_components/trust-section';
export const revalidate = 86400; // 24 hours
-export const metadata = {
+export const metadata: Metadata = {
+ title: 'WHOIS Lookup',
openGraph: {
+ title: 'WHOIS Lookup',
url: '/whois',
},
alternates: {
diff --git a/app/layout.tsx b/app/layout.tsx
index ea17da9..432235b 100644
--- a/app/layout.tsx
+++ b/app/layout.tsx
@@ -25,12 +25,15 @@ export const viewport: Viewport = {
export const metadata = {
metadataBase: env.SITE_URL ? new URL(env.SITE_URL) : null,
- title: 'Domain Digger: DNS, WHOIS lookup & more',
+ title: {
+ template: '%s - Domain Digger',
+ absolute: 'Domain Digger: DNS Lookup, WHOIS Lookup & more',
+ },
description:
'Domain Digger is the full open-source toolkit for next-level domain analysis, providing detailed DNS, IP, WHOIS data, and SSL/TLS history in a user-friendly, no-install interface.',
openGraph: {
type: 'website',
- title: 'Domain Digger: DNS, WHOIS lookup & more',
+ title: 'Domain Digger: DNS Lookup, WHOIS Lookup & more',
description:
'Domain Digger is the full open-source toolkit for next-level domain analysis, providing detailed DNS, IP, WHOIS data, and SSL/TLS history in a user-friendly, no-install interface.',
url: '/',
diff --git a/app/lookup/[domain]/(dns)/page.tsx b/app/lookup/[domain]/(dns)/page.tsx
index 5c88a4e..d67cbbc 100644
--- a/app/lookup/[domain]/(dns)/page.tsx
+++ b/app/lookup/[domain]/(dns)/page.tsx
@@ -33,7 +33,9 @@ export const generateMetadata = async ({
const suffix = normalizedParams.size ? `?${normalizedParams.toString()}` : '';
return {
+ title: `DNS Lookup for ${domain}`,
openGraph: {
+ title: `DNS Lookup for ${domain}`,
url: `/lookup/${domain}${suffix}`,
},
alternates: {
diff --git a/app/lookup/[domain]/certs/page.tsx b/app/lookup/[domain]/certs/page.tsx
index 35bd97d..0c5f271 100644
--- a/app/lookup/[domain]/certs/page.tsx
+++ b/app/lookup/[domain]/certs/page.tsx
@@ -21,10 +21,11 @@ export const generateMetadata = async ({
const { domain } = await params;
return {
+ title: `Certificate Logs for ${domain}`,
openGraph: {
+ title: `Certificate Logs for ${domain}`,
url: `/lookup/${domain}/certs`,
},
-
alternates: {
canonical: `/lookup/${domain}/certs`,
},
diff --git a/app/lookup/[domain]/layout.tsx b/app/lookup/[domain]/layout.tsx
index a2cb7a0..90e0fe1 100644
--- a/app/lookup/[domain]/layout.tsx
+++ b/app/lookup/[domain]/layout.tsx
@@ -31,12 +31,9 @@ export const generateMetadata = async ({
const { domain } = await params;
return {
- title: `Results for ${domain} - Domain Digger`,
description: `Find DNS records, WHOIS data, SSL/TLS certificate history and other for ${domain} using Domain Digger, the full open-source toolkit for next-level domain analysis.`,
-
openGraph: {
type: 'website',
- title: `Results for ${domain} - Domain Digger`,
description: `Find DNS records, WHOIS data, SSL/TLS certificate history and other for ${domain} using Domain Digger, the full open-source toolkit for next-level domain analysis.`,
},
};
diff --git a/app/lookup/[domain]/map/page.tsx b/app/lookup/[domain]/map/page.tsx
index 1ad9b86..b6ac93b 100644
--- a/app/lookup/[domain]/map/page.tsx
+++ b/app/lookup/[domain]/map/page.tsx
@@ -24,7 +24,9 @@ export const generateMetadata = async ({
const { domain } = await params;
return {
+ title: `DNS Propagation for ${domain}`,
openGraph: {
+ title: `DNS Propagation for ${domain}`,
url: `/lookup/${domain}/map`,
},
alternates: {
diff --git a/app/lookup/[domain]/subdomains/page.tsx b/app/lookup/[domain]/subdomains/page.tsx
index b4abb7c..1f03645 100644
--- a/app/lookup/[domain]/subdomains/page.tsx
+++ b/app/lookup/[domain]/subdomains/page.tsx
@@ -27,10 +27,11 @@ export const generateMetadata = async ({
const { domain } = await params;
return {
+ title: `Subdomain Search for ${domain}`,
openGraph: {
+ title: `Subdomain Search for ${domain}`,
url: `/lookup/${domain}/subdomains`,
},
-
alternates: {
canonical: `/lookup/${domain}/subdomains`,
},
diff --git a/app/lookup/[domain]/whois/page.tsx b/app/lookup/[domain]/whois/page.tsx
index e066f13..83be9a8 100644
--- a/app/lookup/[domain]/whois/page.tsx
+++ b/app/lookup/[domain]/whois/page.tsx
@@ -24,7 +24,9 @@ export const generateMetadata = async ({
const search = force !== undefined ? '?force' : '';
return {
+ title: `WHOIS Lookup for ${domain}`,
openGraph: {
+ title: `WHOIS Lookup for ${domain}`,
url: `/lookup/${domain}/whois${search}`,
},
alternates: {