From c76f92886c3bdf0df6e57f484431f8e12d49a5ea Mon Sep 17 00:00:00 2001 From: Agent Date: Sun, 14 Jun 2026 10:19:22 -0400 Subject: [PATCH 1/2] fix: replace deprecated apple-mobile-web-app-capable with mobile-web-app-capable --- views/layouts/main.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/layouts/main.php b/views/layouts/main.php index c62d367..c432c0e 100755 --- a/views/layouts/main.php +++ b/views/layouts/main.php @@ -23,7 +23,7 @@ if (!isset($user) || $user === null) { - + -- 2.43.0 From 9bb25b3c40322c15ba1ea179309252a06dfec7f7 Mon Sep 17 00:00:00 2001 From: Agent Date: Sun, 14 Jun 2026 10:21:12 -0400 Subject: [PATCH 2/2] feat: add SEO meta tags, Open Graph, Twitter Cards, JSON-LD schema, sitemap, robots.txt --- public/robots.txt | 3 ++ public/sitemap.xml | 23 ++++++++++++++ src/Controllers/DashboardController.php | 1 + views/layouts/auth.php | 7 +++++ views/layouts/main.php | 41 +++++++++++++++++++++++++ 5 files changed, 75 insertions(+) create mode 100644 public/robots.txt create mode 100644 public/sitemap.xml diff --git a/public/robots.txt b/public/robots.txt new file mode 100644 index 0000000..82d26b5 --- /dev/null +++ b/public/robots.txt @@ -0,0 +1,3 @@ +User-agent: * +Allow: / +Sitemap: https://servermanager.devlab.lat/sitemap.xml diff --git a/public/sitemap.xml b/public/sitemap.xml new file mode 100644 index 0000000..6fcb731 --- /dev/null +++ b/public/sitemap.xml @@ -0,0 +1,23 @@ + + + + https://servermanager.devlab.lat/ + weekly + 1.0 + + + https://servermanager.devlab.lat/login + monthly + 0.3 + + + https://servermanager.devlab.lat/privacy + monthly + 0.5 + + + https://servermanager.devlab.lat/terms + monthly + 0.5 + + diff --git a/src/Controllers/DashboardController.php b/src/Controllers/DashboardController.php index 08923d6..5cea4b1 100755 --- a/src/Controllers/DashboardController.php +++ b/src/Controllers/DashboardController.php @@ -43,6 +43,7 @@ class DashboardController $this->view->setLayout('auth')->display('pages.landing', [ 'title' => 'ServerManager - Linux Server Management Platform', + 'description' => 'ServerManager — Free and open-source Linux server management platform. Monitor server metrics, execute commands via web terminal, and receive push notifications on your phone.', 'stats' => $stats, ]); } diff --git a/views/layouts/auth.php b/views/layouts/auth.php index 9b92c52..b7f26ee 100755 --- a/views/layouts/auth.php +++ b/views/layouts/auth.php @@ -4,6 +4,13 @@ <?= htmlspecialchars($title ?? 'ServerManager') ?> + + + + + + + diff --git a/views/layouts/main.php b/views/layouts/main.php index c432c0e..9876857 100755 --- a/views/layouts/main.php +++ b/views/layouts/main.php @@ -3,9 +3,11 @@ $notifications = $notifications ?? []; $unreadCount = $unreadCount ?? 0; $teamId = $teamId ?? null; $title = $title ?? 'ServerManager'; +$description = $description ?? 'ServerManager — Linux server management platform. Monitor, manage, and control your servers from anywhere with real-time metrics, web terminal, and push notifications.'; $content = $content ?? ''; $currentRoute = $_SERVER['REQUEST_URI'] ?? '/'; +$canonicalUrl = ($_ENV['APP_URL'] ?? 'https://sysadmin.lan') . $currentRoute; if (!isset($user) || $user === null) { $user = auth(); @@ -17,8 +19,47 @@ if (!isset($user) || $user === null) { <?= htmlspecialchars($title) ?> — ServerManager + + + + + + + + + + + + + + + + + + + + + + + -- 2.43.0