-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #43 from meteordefect/Improve-seo-fixes
Fixes for SEO like sitemap
- Loading branch information
Showing
5 changed files
with
129 additions
and
11 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
# Allow all crawlers | ||
User-agent: * | ||
|
||
# Exclude specific sensitive directories (if any) | ||
Disallow: /admin/ | ||
Disallow: /private/ | ||
User-agent: * | ||
Allow: / | ||
Disallow: /api/ | ||
Disallow: /_next/ | ||
Disallow: /static/ | ||
|
||
# Link to the sitemap for better indexing | ||
Sitemap: https://cipherprojects.com/sitemap.xml | ||
# Sitemap | ||
Sitemap: https://cipherprojects.com/sitemap.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
'use client' | ||
|
||
export default function SchemaMarkup() { | ||
const schema = { | ||
'@context': 'https://schema.org', | ||
'@type': 'Organization', | ||
name: 'Cipher Projects', | ||
url: 'https://cipherprojects.com', | ||
logo: 'https://cipherprojects.com/black-logo.png', | ||
image: 'https://cipherprojects.com/black-logo.png', | ||
description: 'Cipher Projects delivers world-class software development services to clients across Asia & Australia. Web, mobile, cloud & AI expertise.', | ||
address: { | ||
'@type': 'PostalAddress', | ||
addressLocality: 'Canberra', | ||
addressRegion: 'ACT', | ||
postalCode: '2607', | ||
addressCountry: 'AU' | ||
}, | ||
contactPoint: { | ||
'@type': 'ContactPoint', | ||
telephone: '+61-2-6176-1580', | ||
contactType: 'customer service', | ||
email: '[email protected]' | ||
}, | ||
sameAs: [ | ||
'https://www.linkedin.com/company/cipherprojects', | ||
'https://twitter.com/cipherprojects', | ||
'https://www.facebook.com/profile.php?id=61560910197514' | ||
] | ||
} | ||
|
||
return ( | ||
<script | ||
type="application/ld+json" | ||
dangerouslySetInnerHTML={{ __html: JSON.stringify(schema) }} | ||
/> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
import type { Metadata } from 'next' | ||
|
||
interface PageSEO { | ||
title: string; | ||
description: string; | ||
path: string; | ||
} | ||
|
||
export const defaultMetadata: Metadata = { | ||
title: { | ||
default: 'Cipher Projects | Cloud & Software Development', | ||
template: '%s | Cipher Projects' | ||
}, | ||
description: 'Elite development teams for transformative projects from cloud to core systems. Serving clients across Europe, Asia & Australia.', | ||
openGraph: { | ||
type: 'website', | ||
locale: 'en_AU', | ||
url: 'https://cipherprojects.com', | ||
siteName: 'Cipher Projects', | ||
images: [ | ||
{ | ||
url: '/og-image.jpg', | ||
width: 1200, | ||
height: 630, | ||
alt: 'Cipher Projects' | ||
} | ||
] | ||
}, | ||
twitter: { | ||
card: 'summary_large_image', | ||
title: 'Cipher Projects', | ||
description: 'Elite development teams for transformative projects', | ||
images: ['/og-image.jpg'] | ||
}, | ||
robots: { | ||
index: true, | ||
follow: true, | ||
googleBot: { | ||
index: true, | ||
follow: true, | ||
'max-video-preview': -1, | ||
'max-image-preview': 'large', | ||
'max-snippet': -1, | ||
}, | ||
}, | ||
icons: { | ||
icon: '/favicon.ico', | ||
shortcut: '/favicon-16x16.png', | ||
apple: '/apple-touch-icon.png', | ||
}, | ||
} | ||
|
||
// Important pages for sitelinks | ||
export const mainPages: PageSEO[] = [ | ||
{ | ||
title: 'Projects', | ||
description: 'Featured cloud infrastructure and software development projects by Cipher Projects.', | ||
path: '/projects' | ||
}, | ||
{ | ||
title: 'Services', | ||
description: 'Cloud infrastructure, software development, and digital transformation services.', | ||
path: '/services' | ||
}, | ||
{ | ||
title: 'About', | ||
description: 'Learn about Cipher Projects - elite development teams for transformative projects.', | ||
path: '/about' | ||
}, | ||
{ | ||
title: 'Research', | ||
description: 'Insights and research on cloud technology, software development and digital innovation.', | ||
path: '/research' | ||
} | ||
] |