seo: improve SEO and fix social media link preview image
- Fix og:image and twitter:image to use absolute URLs (was the root cause of missing social preview image) - Add og:image:width, og:image:height, og:image:alt, og:image:type - Add og:site_name, og:locale, twitter:site, twitter:image:alt - Add canonical link tag and robots meta - Add JSON-LD structured data for Organization, SoftwareApplication, WebSite - Add public/robots.txt pointing to sitemap - Add public/sitemap.xml for search engine crawling - Add public/site.webmanifest for PWA/mobile home screen support - Add theme-color meta and apple-touch-icon link - Update lang attribute to en-PH
This commit is contained in:
4
public/robots.txt
Normal file
4
public/robots.txt
Normal file
@@ -0,0 +1,4 @@
|
||||
User-agent: *
|
||||
Allow: /
|
||||
|
||||
Sitemap: https://taptrack.ph/sitemap.xml
|
||||
17
public/site.webmanifest
Normal file
17
public/site.webmanifest
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"name": "TapTrack",
|
||||
"short_name": "TapTrack",
|
||||
"description": "On-premises NFC student attendance for Philippine schools.",
|
||||
"start_url": "/",
|
||||
"display": "standalone",
|
||||
"background_color": "#ffffff",
|
||||
"theme_color": "#2563eb",
|
||||
"icons": [
|
||||
{
|
||||
"src": "/favicon.svg",
|
||||
"sizes": "any",
|
||||
"type": "image/svg+xml",
|
||||
"purpose": "any maskable"
|
||||
}
|
||||
]
|
||||
}
|
||||
9
public/sitemap.xml
Normal file
9
public/sitemap.xml
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||
<url>
|
||||
<loc>https://taptrack.ph/</loc>
|
||||
<lastmod>2026-03-17</lastmod>
|
||||
<changefreq>monthly</changefreq>
|
||||
<priority>1.0</priority>
|
||||
</url>
|
||||
</urlset>
|
||||
Reference in New Issue
Block a user