Update site URLs to use the 'www' subdomain across the application

- Changed the site URL in index.html, router, and server routes from 'https://ypchat.net' to 'https://www.ypchat.net' for consistency and improved SEO.
- Updated related meta tags and constants to reflect the new URL structure.

These changes ensure a unified domain reference throughout the application.
This commit is contained in:
Torsten Schulz (local)
2026-03-27 11:16:14 +01:00
parent e8e1eb4e25
commit 9b079e31a0
3 changed files with 7 additions and 7 deletions

View File

@@ -14,8 +14,8 @@
<meta property="og:title" content="SingleChat - Chat, Single-Chat und Bildaustausch">
<meta property="og:description" content="Willkommen auf SingleChat - deine erste Adresse für Chat, Single-Chat und Bildaustausch.">
<meta property="og:type" content="website">
<meta property="og:url" content="https://ypchat.net/">
<meta property="og:image" content="https://ypchat.net/static/favicon.png">
<meta property="og:url" content="https://www.ypchat.net/">
<meta property="og:image" content="https://www.ypchat.net/static/favicon.png">
<meta property="og:site_name" content="SingleChat">
<meta property="og:locale" content="de_DE">
@@ -23,14 +23,14 @@
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="SingleChat - Chat, Single-Chat und Bildaustausch">
<meta name="twitter:description" content="Willkommen auf SingleChat - deine erste Adresse für Chat, Single-Chat und Bildaustausch.">
<meta name="twitter:image" content="https://ypchat.net/static/favicon.png">
<meta name="twitter:image" content="https://www.ypchat.net/static/favicon.png">
<!-- Canonical URL -->
<link rel="canonical" href="https://ypchat.net/">
<link rel="canonical" href="https://www.ypchat.net/">
<!-- Favicon -->
<link rel="icon" type="image/png" href="/static/favicon.png">
<script type="application/ld+json" id="seo-json-ld">{"@context":"https://schema.org","@type":"WebSite","name":"SingleChat","url":"https://ypchat.net/","description":"Willkommen auf SingleChat - deine erste Adresse für Chat, Single-Chat und Bildaustausch.","inLanguage":"de-DE"}</script>
<script type="application/ld+json" id="seo-json-ld">{"@context":"https://schema.org","@type":"WebSite","name":"SingleChat","url":"https://www.ypchat.net/","description":"Willkommen auf SingleChat - deine erste Adresse für Chat, Single-Chat und Bildaustausch.","inLanguage":"de-DE"}</script>
</head>
<body>
<div id="app"></div>

View File

@@ -4,7 +4,7 @@ import PartnersView from '../views/PartnersView.vue';
import MockupView from '../views/MockupView.vue';
import FeedbackView from '../views/FeedbackView.vue';
const SITE_URL = 'https://ypchat.net';
const SITE_URL = 'https://www.ypchat.net';
const DEFAULT_IMAGE = `${SITE_URL}/static/favicon.png`;
const homeSchema = {

View File

@@ -2,7 +2,7 @@ import { readFileSync, existsSync } from 'fs';
import { join, resolve } from 'path';
import { loadFeedback } from './feedback-store.js';
const SITE_URL = 'https://ypchat.net';
const SITE_URL = 'https://www.ypchat.net';
const DEFAULT_IMAGE = `${SITE_URL}/static/favicon.png`;
const seoData = {