Security hardening + new tools deployment

- Hide Apache version (ServerTokens Prod)
- Add Permissions-Policy header
- Remove deprecated X-XSS-Protection
- Consolidate security headers to .htaccess only (remove duplicates from PHP)
- Deploy free tools: robots-analyzer, data-converter
- Deploy tools announcement blog post
- Update sitemap with new tools and blog post
This commit is contained in:
root
2026-02-05 04:11:15 +00:00
parent 3a0d8034c7
commit b6e39fe0c2
89 changed files with 4866 additions and 1932 deletions

View File

@@ -1,13 +1,9 @@
<?php
// Security headers
header('X-Content-Type-Options: nosniff');
header('X-Frame-Options: DENY');
header('X-XSS-Protection: 1; mode=block');
header('Referrer-Policy: strict-origin-when-cross-origin');
header('Content-Security-Policy: default-src \'self\'; script-src \'self\' \'unsafe-inline\' https://www.googletagmanager.com; style-src \'self\' \'unsafe-inline\' https://fonts.googleapis.com; font-src \'self\' https://fonts.gstatic.com; img-src \'self\' data: https:; connect-src \'self\' https://www.google-analytics.com https://analytics.google.com https://region1.google-analytics.com;');
// Article-specific variables
$article_title = 'UK E-commerce Trends 2025: Data Insights Shaping the Future of Online Retail';
$article_title = 'UK E-commerce Trends 2025: What the Data Actually Shows (15 Key Stats)';
$article_description = 'Explore the key e-commerce trends transforming UK retail in 2025. Data-driven analysis of consumer behaviour, technology adoption, and market opportunities.';
$article_keywords = 'UK ecommerce trends, online retail, digital commerce, consumer behaviour, retail analytics, ecommerce data, omnichannel retail';
$article_author = 'James Wilson';
@@ -97,7 +93,7 @@ $breadcrumbs = [
<div class="nav-container">
<div class="nav-logo">
<a href="/">
<img src="/assets/images/ukds-main-logo.png" alt="UK Data Services" class="logo">
<img loading="lazy" src="/assets/images/ukds-main-logo.png" alt="UK Data Services" class="logo">
</a>
</div>
<div class="nav-menu" id="nav-menu">
@@ -147,6 +143,13 @@ $breadcrumbs = [
</section>
<section>
<div class="inline-cta">
<h4>📈 Want Real-Time E-commerce Intelligence?</h4>
<p>We track competitor prices, stock levels, and market trends across thousands of UK e-commerce sites. Get the data your rivals are using.</p>
<a href="/quote" class="cta-link">See What We Can Track For You →</a>
</div>
<h2>Consumer Behaviour Evolution</h2>
<h3>Post-Pandemic Shopping Patterns</h3>
<p>Our analysis of consumer data reveals lasting behavioural changes that continue to shape the e-commerce landscape:</p>
@@ -358,5 +361,6 @@ $breadcrumbs = [
<?php include($_SERVER['DOCUMENT_ROOT'] . '/includes/footer.php'); ?>
<script src="/assets/js/main.js" defer></script>
<script src="../../assets/js/cro-enhancements.js"></script>
</body>
</html>