Fix SEO issues found via GSC audit

- Fix broken PHP syntax in real-time data extraction article
- Fix truncated meta description on homepage
- Fix truncated titles on competitive intelligence and price monitoring pages
- Update Selenium vs Playwright article year from 2024 to 2026
- Replace no-store cache headers on homepage with private revalidation
- 301 redirect thin duplicate real-time streaming article to canonical
- Add HSTS header to data-cleaning service page
- Replace SVG og:images with PNG social card across 24 blog articles
- Add Services breadcrumb level to London, Manchester, Birmingham pages
This commit is contained in:
Peter Foster
2026-03-10 04:37:15 +00:00
parent 4121a20e40
commit 34ddbe3fdd
33 changed files with 95 additions and 266 deletions

View File

@@ -6,10 +6,8 @@ ini_set('session.cookie_httponly', '1');
ini_set('session.cookie_secure', '1');
session_start();
// Prevent caching - page contains session-specific tokens
header("Cache-Control: no-store, no-cache, must-revalidate, max-age=0");
header("Pragma: no-cache");
header("Expires: Sat, 01 Jan 2000 00:00:00 GMT");
// Allow private caching with revalidation (CSRF token requires session)
header("Cache-Control: private, no-cache, must-revalidate");
if (!isset($_SESSION['csrf_token'])) {
$_SESSION['csrf_token'] = bin2hex(random_bytes(32));
}
@@ -18,7 +16,7 @@ header('Content-Security-Policy: default-src \'self\'; script-src \'self\' \'uns
// SEO and performance optimizations
$page_title = "UK Web Scraping Services | Custom Data Extraction Experts";
$page_description = "Expert UK web scraping services. We deliver clean, structured data for competitor pricing, market research & leads. Fast, reliable & GDPR compliant. Free q";
$page_description = "Expert UK web scraping services. We deliver clean, structured data for competitor pricing, market research & leads. GDPR compliant. Free quote.";
$canonical_url = "https://ukdataservices.co.uk/";
$keywords = "web scraping services UK, data analytics London, web scraping UK, data extraction services, business intelligence, competitive analysis, price monitoring, data analytics Manchester, market research, web data mining, GDPR compliant scraping, enterprise data solutions, automated data collection UK";
$author = "UK Data Services";