Comprehensive SEO and UI improvements across site

SEO Improvements:
- Add Twitter/OG meta tags to gdpr-compliance.php and terms-of-service.php
- Add author bios with E-E-A-T signals to all blog articles
- Add breadcrumb schema markup to key pages
- Create new service pages: price-monitoring.php, competitive-intelligence.php
- Create location pages: london.php, manchester.php, birmingham.php
- Update sitemap.xml with new pages

UI/CSS Improvements:
- Move testimonials section from inline styles to CSS classes
- Standardize hero gradients to #144784 → #179e83 across all pages
- Unify card border styles to border-left: 4px solid #179e83
- Fix CTA gradient direction consistency on location pages
- Standardize breadcrumb colors to #144784
- Replace all purple accent colors (#667eea, #764ba2) with brand colors
- Add CSS variables for brand consistency in main.css

Code Cleanup:
- Delete 6 emergency CSS fix files (button-emergency-fix.css, etc.)
- Remove related-articles-fix.css references from blog articles
- Consolidate styles into main.css

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
root
2025-12-07 11:49:39 +00:00
parent 72d7a641f0
commit e144b20798
73 changed files with 5019 additions and 941 deletions

View File

@@ -40,8 +40,8 @@ $breadcrumbs = [
<meta property="og:title" content="<?php echo htmlspecialchars($article_title); ?>">
<meta property="og:description" content="<?php echo htmlspecialchars($article_description); ?>">
<meta property="og:type" content="article">
<meta property="og:url" content="https://www.ukdataservices.com/blog/articles/<?php echo $article_slug; ?>">
<meta property="og:image" content="https://www.ukdataservices.com<?php echo $hero_image; ?>">
<meta property="og:url" content="https://ukdataservices.co.uk/blog/articles/<?php echo $article_slug; ?>">
<meta property="og:image" content="https://ukdataservices.co.uk<?php echo $hero_image; ?>">
<meta property="article:author" content="<?php echo htmlspecialchars($article_author); ?>">
<meta property="article:published_time" content="<?php echo $article_date; ?>T09:00:00+00:00">
<meta property="article:modified_time" content="<?php echo $last_modified; ?>T09:00:00+00:00">
@@ -49,9 +49,9 @@ $breadcrumbs = [
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="<?php echo htmlspecialchars($article_title); ?>">
<meta name="twitter:description" content="<?php echo htmlspecialchars($article_description); ?>">
<meta name="twitter:image" content="https://www.ukdataservices.com<?php echo $hero_image; ?>">
<meta name="twitter:image" content="https://ukdataservices.co.uk<?php echo $hero_image; ?>">
<link rel="canonical" href="https://www.ukdataservices.com/blog/articles/<?php echo $article_slug; ?>">
<link rel="canonical" href="https://ukdataservices.co.uk/blog/articles/<?php echo $article_slug; ?>">
<link rel="stylesheet" href="/assets/css/main.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
@@ -66,7 +66,7 @@ $breadcrumbs = [
"@type": "BlogPosting",
"headline": "<?php echo htmlspecialchars($article_title); ?>",
"description": "<?php echo htmlspecialchars($article_description); ?>",
"image": "https://www.ukdataservices.com<?php echo $hero_image; ?>",
"image": "https://ukdataservices.co.uk<?php echo $hero_image; ?>",
"datePublished": "<?php echo $article_date; ?>T09:00:00+00:00",
"dateModified": "<?php echo $last_modified; ?>T09:00:00+00:00",
"author": {
@@ -78,12 +78,12 @@ $breadcrumbs = [
"name": "UK Data Services",
"logo": {
"@type": "ImageObject",
"url": "https://www.ukdataservices.com/assets/images/logo.svg"
"url": "https://ukdataservices.co.uk/assets/images/logo.svg"
}
},
"mainEntityOfPage": {
"@type": "WebPage",
"@id": "https://www.ukdataservices.com/blog/articles/<?php echo $article_slug; ?>"
"@id": "https://ukdataservices.co.uk/blog/articles/<?php echo $article_slug; ?>"
},
"keywords": "<?php echo htmlspecialchars($article_keywords); ?>"
}
@@ -330,6 +330,8 @@ $breadcrumbs = [
</section>
</div>
<?php include($_SERVER['DOCUMENT_ROOT'] . '/includes/author-bio.php'); ?>
<?php include($_SERVER['DOCUMENT_ROOT'] . '/includes/article-footer.php'); ?>
</div>
</article>