Skip to content

Full Toolkit for Next-Level Domain Analysis

Avoid recommendations to `www.*.something` 🙄

Felix Wotschofsky7e6cbb538851
diff --git a/components/RelatedDomains.tsx b/components/RelatedDomains.tsx
index 272d916..3f48942 100644
--- a/components/RelatedDomains.tsx
+++ b/components/RelatedDomains.tsx
@@ -19,7 +19,11 @@ const getRecommendations = (original: string) => {
domains.push(domain);
}
- if (!original.startsWith('www.') && splitOriginal.length >= 2) {
+ if (
+ !original.startsWith('www.') &&
+ !original.startsWith('*.') &&
+ splitOriginal.length >= 2
+ ) {
domains.unshift(`www.${original}`);
}