1. Feat(Security): Patched vulnerabilities exposed by Zaproxy scan.

a. Added anti-clickjacking header
 b. Added robots.txt
 c. Added sitemap.xml
 d. Added cache-control header
2. Feat(SEO): Added yandex verification meta tag.
This commit is contained in:
2025-01-25 13:40:19 +00:00
parent 876d59170e
commit c5e5db5a36
3 changed files with 37 additions and 0 deletions

View File

@@ -4,6 +4,11 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Teddy</title>
<!-- SEO -->
<meta name="yandex-verification" content="6d6eae9d533ef680" />
<!-- Security -->
<meta http-equiv="X-Frame-Options" content="SAMEORIGIN">
<meta http-equiv="Cache-Control" content="no-store, no-cache, must-revalidate">
<style>
/* Modern CSS reset and variables */
:root {

7
robots.txt Normal file
View File

@@ -0,0 +1,7 @@
User-agent: *
Allow: /
Sitemap: https://teddy.org.uk/sitemap.xml
# Disallow access to specific files/directories if needed
# Disallow: /private/
# Disallow: /.git/

25
sitemap.xml Normal file
View File

@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://teddy.org.uk/</loc>
<lastmod>2024-01-25</lastmod>
<priority>1.0</priority>
</url>
<!-- Additional URLs for sections within portfolio -->
<url>
<loc>https://teddy.org.uk/#expertise</loc>
<priority>0.8</priority>
</url>
<url>
<loc>https://teddy.org.uk/#projects</loc>
<priority>0.8</priority>
</url>
<url>
<loc>https://teddy.org.uk/#experience</loc>
<priority>0.8</priority>
</url>
<url>
<loc>https://teddy.org.uk/#contact</loc>
<priority>0.8</priority>
</url>
</urlset>