issue #44 - SEO: now with no hard coded stuff

This commit is contained in:
SovereigntyIsNotFreedom 2025-03-31 10:54:32 +01:00
parent 42c5976055
commit a0eab386f3

View file

@ -11,7 +11,7 @@
// Now displays the url of the instance
<meta property="og:url" content="<?php echo htmlspecialchars($_SERVER['HTTP_HOST']); ?>" />
// Default images for previews
<meta property="og:image:url" content="<?php echo htmlspecialchars($_SERVER['HTTP_HOST']); ?> ./img/logo-large.png" />
<meta property="og:image:url" content="<?php echo htmlspecialchars($_SERVER['HTTP_HOST']); ?> . /img/logo-large.png" />
<meta property="og:locale" content="en_US" />
// This tells search engines which URL should be considered the original source when multiple URLs contain the same content.
<link rel="canonical" href="<?php echo htmlspecialchars($_SERVER['HTTP_HOST']); ?>" />