Skip to main content
SGSiteGraph

opsi.gov.uk

Legislation.gov.uk

Last scanned Aug 3, 2026, 9:00 PM · 8 views

79

Overall score

Fair

Summary

The official home of UK legislation, revised and as enacted 1267-present. This website uses jQuery hosted on AWS behind CloudFront CDN. SEO is fair (65/100) and accessibility is excellent (90/100). Security scores fair (65/100) and performance excellent (100/100). Top issue: Meta description longer than 160 characters.

The official home of UK legislation, revised and as enacted 1267-present. This website is managed by The National Archives on behalf of HM Government. Publishing all UK legislation is a core part of the remit of His Majesty’s Stationery Office (HMSO), part of The National Archives, and the Office of the King's Printer for Scotland.

United States
Hosted on AWS

Top issues to fix

12 issues found · 2 high priority

  • Missing Strict-Transport-Security header

    Security

    Add HSTS so browsers always use HTTPS — this closes the protocol-downgrade attack window.

  • Missing Content-Security-Policy header

    Security

    Add a CSP to control which sources can run scripts — the strongest single defense against XSS.

  • Missing X-Content-Type-Options header

    Security

    Add X-Content-Type-Options: nosniff to stop MIME-sniffing attacks.

  • Missing X-Frame-Options header

    Security

    Add X-Frame-Options (or a CSP frame-ancestors rule) to prevent clickjacking via hidden iframes.

  • Meta description longer than 160 characters

    SEO

    Trim the meta description to under 160 characters to avoid truncation in search results.

  • Missing canonical link

    SEO

    Add <link rel="canonical"> so search engines know which URL variant to index.

+6 more issues — details in the sections below.

65

SEO

6 issue(s) found

100

Performance

129 ms

65

Security

HTTPS & header checks

90

Accessibility

1 issue(s) found

Score history

+14 overall since Jul 26, 2026

Overall
79
SEO
65
Security
65
Performance
100
Accessibility
90

Organization

Company details published in this site's own structured data.

The official home of UK legislation, revised and as enacted 1267-present. This website is managed by The National Archives on behalf of HM Government. Publishing all UK legislation is a core part of the remit of His Majesty’s Stationery Office (HMSO), part of The National Archives, and the Office of the King's Printer for Scotland.

Contact

Email, phone, and address published on this site's own pages.

Meta tags

Title
Legislation.gov.uk
Description
The official home of UK legislation, revised and as enacted 1267-present. This website is managed by The National Archives on behalf of HM Government. Publishing all UK legislation is a core part of the remit of His Majesty’s Stationery Office (HMSO), part of The National Archives, and the Office of the King's Printer for Scotland.
Canonical
Language
Charset
utf-8
Viewport
width=device-width, initial-scale=0.1, user-scalable=1
Robots meta
Manifest

OpenGraph & Twitter Card

OpenGraph

og:title
og:description
og:type
og:url

Twitter Card

twitter:card
twitter:title
twitter:description

Technologies

Detected frameworks, languages, and tools.

Hosting & CDN

Hosting provider
AWS
CDN provider
CloudFront
IP address
13.225.5.87
ASN
AS16509 (AMAZON-02 - Amazon.com, Inc., US)

DNS records

TypeValue
A
  • 13.225.5.87
  • 13.225.5.35
  • 13.225.5.71
  • 13.225.5.82
AAAA
MX
TXT
NS
CAA
CNAME
IPv6 supportNo

TLS / SSL certificate

Version
TLS 1.3
Issuer
Amazon
Subject
www.legislation.gov.uk
Valid from
Jan 9, 2026
Valid to
Feb 6, 2027
Days until expiry
187
SAN domains
www.legislation.gov.uk

Security headers

  • Strict-Transport-SecurityMissing
  • Content-Security-PolicyMissing
  • X-Frame-OptionsMissing
  • X-Content-Type-OptionsMissing
  • Referrer-PolicyMissing
  • Permissions-PolicyMissing

Compression: none · 0 cookie(s) observed

Content & assets

Headings

H1 1 · H2 13 · H3 0

Links

37 internal · 12 external · 1 broken

Images

3 total · 0 missing alt

Scripts / Styles

12 scripts · 5 stylesheets

JS / CSS size

1.7 KB · 0 B

Page size

2.0 KB

Robots.txt & Sitemap

robots.txt
Not found
Disallow rules
0
sitemap.xml
Not found
URLs in sitemap
0

SEO issues

  • Meta description longer than 160 characters
  • Missing canonical link
  • No structured data (JSON-LD) found
  • Missing OpenGraph tags
  • robots.txt not found
  • sitemap.xml not found

Accessibility issues

  • Missing <html lang> attribute

Careers

View careers page

This company has an active careers page, but individual openings weren't reliably parsed from it — visit the page above for current listings.

Scan details

Requested URL
https://opsi.gov.uk
Final URL
https://www.legislation.gov.uk/
HTTP status
202
HTTP version
HTTP/1.1
Response time
129 ms
HTML size
2.0 KB
Redirect chain
https://opsi.gov.uk → http://www.legislation.gov.uk → https://www.legislation.gov.uk/

See something wrong on this report? Request a correction

Frequently asked questions

What technology does opsi.gov.uk use?
opsi.gov.uk is built with jQuery.
Is opsi.gov.uk secure (HTTPS)?
Yes. opsi.gov.uk uses TLS 1.3 with a certificate issued by Amazon, valid until Feb 6, 2027.
Who hosts opsi.gov.uk?
opsi.gov.uk is hosted on AWS, behind CloudFront CDN.
What is opsi.gov.uk's SEO score?
opsi.gov.uk scored 65/100 for SEO in the latest analysis (fair).
What is opsi.gov.uk's overall website score?
opsi.gov.uk has an overall SiteGraph score of 79/100, combining SEO, performance, security, and accessibility.
Has opsi.gov.uk's score changed over time?
opsi.gov.uk's overall score has improved by 14 points (from 65 to 79) since Jul 26, 2026.
Is opsi.gov.uk hiring?
opsi.gov.uk has a careers page; check it directly for current openings.