Website & application migration in Glasgow
I migrate sites from WordPress, Joomla, Drupal, Angular, Vue and other technologies to Astro and Next.js. I plan each migration to keep SEO, content and features intact and switch over in an agreed window. I work alone and have years of experience with both legacy and modern stacks.
- I have had a wordpress.org account since 2006.
- I contributed to WordPress core for versions 7.0 and 7.1.
- I maintain 30 plugins on wordpress.org.
- I organise and speak at WordCamps.
- I have attended every WordCamp Europe from 2017 to 2026.
A Scottish public authority that replaces its website changes the system that publishes information to the public, and the Public Records (Scotland) Act 2011 sets the records frame around that decision. I am Mariusz Szatkowski, a developer based in Gdynia who works with clients remotely and in writing. I build the Next.js or Astro site. Whether a given page or dataset is a public record, and what the authority’s plan says about it, is for the authority’s records manager.

The Finnieston Crane by the Clyde in Glasgow, seen from the north bank, a city view and not a client reference. File by Rosser1954, licensed CC BY-SA 4.0 on Wikimedia Commons.
Does the Public Records (Scotland) Act apply to a website replacement?
The Act does not mention websites in the sections I read, and neither does the National Records of Scotland (NRS) overview of the Act. What it regulates is records management, and the website is one place where an authority’s records live.
Section 1(1) of the Act says every authority to which Part 1 applies must prepare a records management plan (RMP), submit it to the Keeper of the Records of Scotland for agreement, and ensure its public records are managed in accordance with the plan as agreed. Under section 1(2) the plan identifies the person responsible for managing the records, and the person responsible for compliance if that is someone else. It sets out procedures for managing the records, keeping the information secure, and the archiving and destruction or other disposal of them. Part 1 runs from section 1 to section 11, with sections on agreement of plans, review of plans, records management reviews and action notices, according to the contents page on legislation.gov.uk.
NRS describes the Act as in force since 1 January 2013 and applying to Scottish public authorities named in its schedule, for example local authorities, NHS boards, police and courts, and the Scottish Government and Parliament. The Keeper’s listed powers include returning plans that are not approved, carrying out records management reviews and issuing action notices for improvement.
For a migration this means one thing in practice. The authority already has, or must have, an agreed plan. The new site has to fit the arrangements in it, and the engineer needs to hear what they are before the first template exists.
What does the records management plan say about a website?
Nothing, directly. The NRS model plan has 15 elements, and the page does not mention websites or web archiving inside them. Several elements still decide how a migration is run:
| Element | What the model plan says | What it means for the migration |
|---|---|---|
| 5, retention schedules | records are preserved permanently by transfer to a physical repository or digital preservation system, or destroyed on schedule | content with a retention date is not carried into the new site by default, and the old site is not switched off before the schedule is applied |
| 7, archiving and transfer | the plan must detail archiving and transfer arrangements, and selection is format neutral | the records team decides what leaves the old site for the archive, and in which form |
| 10, business continuity and vital records | record recovery, prioritising vital records, is part of business continuity planning | the cutover plan and the rollback are part of that continuity thinking |
| 13, assessment and review | section 5(1)(a) of the Act says the authority must keep its plan under review | a new publishing platform is a prompt to check the plan still describes reality |
| 15, third parties | the plan must say what public records are created and held by a third party and how they are managed | the developer, the host and any hosted CMS fall under this element |
The mapping in the right column is my reading as an engineer, not NRS wording. The elements and quotes in the middle column come from the model plan.
Is the developer a third party under the Act?
It can be. Section 3(1)(b) includes records created by or on behalf of a contractor in carrying out the authority’s functions among public records. Section 3(2) defines a contractor as a person to whom the authority delegates functions, by contract or otherwise.
Element 15 of the model plan then asks for adequate arrangements for records created and held by third parties. It says:
- the plan must refer to what public records a third party creates and holds, and how they are managed to the authority’s satisfaction
- this does not mean the authority must impose its own arrangements on the third party
- the authority should take a risk-based approach
- records management requirements, and evidence that prospective contractors can meet them, belong in the procurement exercise
- the arrangements should cover sub-contractors
- records of enduring value should revert to the authority when the contract ends
NRS also says records a contractor holds that are not connected with carrying out the authority’s functions are not public records under the Act.
On a migration project this turns into questions to settle in the statement of work, with the records manager: where do exports, staging copies and backups of the old site live, who deletes them and when, which hosting and CMS suppliers sit under the developer, and what is handed back at the end. I do not review contracts. The wording and the legal position are for the authority.
What does the NRS web archive do?
The NRS Web Archive, run by the Web Continuity Service, selects, captures and preserves websites. NRS states:
- the service is only for organisations that deposit their records with NRS for permanent preservation, and that includes Scottish Government websites
- NRS decides whether a site is added, and asks the owner to complete a questionnaire
- NRS quality-assures the captures to check they represent the live site, then publishes them at the NRS web archive address
- it usually archives a site once or twice a year and confirms the frequency with the owner
- the archive is Memento compliant, and NRS uses MirrorWeb for crawling and replay
- the page sets no deadlines and no formal notification process for a redesign
If the authority is outside that group, the Web Continuity Service is not available to it, and the records manager has to decide how the old site is preserved some other way.
What can the web archive not capture?
NRS lists the known limits. Here they are next to what an engineer can do about each when planning the new site. The right column is engineering judgement, not NRS advice.
| Listed by NRS | Planning response |
|---|---|
| Interactive content and search | give search results addressable URLs and keep a plain list of pages |
| Login-only content | decide with the records team how it is preserved by other means |
| Embedded maps and YouTube videos | keep the information in the page text as well |
| Links inside PDF, Word or Excel files | repeat important links on an HTML page |
| POST and Ajax functionality | make the content reachable by a normal link |
| Flash | not carried into the new site |
Both frameworks help here for a reason that comes from their own documentation. Astro prerenders pages, routes and endpoints to static HTML at build time by default, and Next.js can produce a static export with one HTML file per route. A page that is plain HTML in the response is the kind a crawler reads. A page that fills itself with client-side code after load is the risk. I check by requesting the page without running scripts and comparing the text.
How do I retire the old site?
NRS says that for a closing site, an owner can put a redirect on the domain to an archived capture, and that the owner should retain ownership of the domain if it does. For takedown of content, NRS asks the owner to contact it with the URL and a reason. It also recommends linking to archived URLs, because web archiving lets users find content that was removed or updated. NRS points to the Digital Scotland Service Manual for guidance on making websites easy to archive.
In a migration the live domain keeps serving the new site, so the redirect question becomes more specific. Old URLs that have a replacement go to the replacement. Old URLs for content the authority has retired can answer with a page that says so and links to the archived capture, once NRS has published one. The two cases are listed separately in the redirect map so nobody has to decide on launch night.
Redirects in both frameworks are plain configuration. In Next.js, redirects in next.config.js takes source, destination and permanent, and permanent: true produces a 308. In Astro, the redirects key in astro.config.mjs maps old paths to new ones, with status 301 by default, although a static HTML build writes meta refresh pages unless the host adapter writes the redirects.
// astro.config.mjs
export default defineConfig({
redirects: {
"/services/old-licence-page": "/licences/",
"/news/2019/archived-notice": {
status: 301,
destination: "/news/archive/",
},
},
});A checklist for the records manager and the developer
- Read the current agreed plan and note which elements the site touches.
- Name every supplier that will hold copies of the old site during the build.
- Ask NRS whether the old site qualifies for the web archive, and when the next capture is due.
- Keep content editing steady before an archive capture, so the capture matches the live site.
- Repeat important links from documents on plain HTML pages.
- Give every retained page a stable URL and a row in the redirect map.
- Decide what happens to content past its retention date before it is migrated.
- Keep control of the old domain after launch.
- Ask whether the plan needs a revised submission to the Keeper.
How does a project like this run?
- You send the address of the current site, the CMS, the hosting supplier and the name of the person who owns the plan. Nothing is charged for the written estimate that follows.
- I write a scope that lists the records questions above as open items with your records manager as the owner of each.
- I build the Next.js or Astro site on staging, with the redirect map as a spreadsheet you can review row by row.
- After you approve in writing, the cutover happens, and old exports are deleted or handed back as agreed in step 2.
I need read access to the current site, its sitemap and a list of retired content. If you also want the platform choice explained, see Astro developer and the general migration page.
Send me the old site
If you run a Glasgow or Scottish public body and the website is due for replacement, send the current address, the name of your records manager and the date you want the old site offline through the contact form. The estimate you get back in writing costs nothing, and it will list the records questions that have to be answered before a redirect map is final. I am not a lawyer: the plan, the schedule and the Keeper’s agreement stay with you.
Selected projects
Examples of my work.
E-commerce Development: autogaz.olsztyn.pl
autogaz.olsztyn.pl is a website for a workshop in Olsztyn installing car gas systems, with service information and simple contact.
E-commerce Development: capslock.pl
capslock.pl was a WooCommerce store for computer parts, built in 2013 with product catalogue, AB wholesaler integration, external marketplace exports, payments and performance optimisation.
E-commerce Development: car-mechanic-huntington.co.uk
The website project car-mechanic-huntington.co.uk was created with the aim of professionally presenting the services of a car workshop. The primary goal of t...
See also in Great Britain
Need this service: Next.js / Astro migration in Glasgow?
Describe your project by e-mail. I reply within 24 hours.
Describe your projectExplore other WordPress services and knowledge base
Migration to Astro, Next.js, and headless WordPress.
WooCommerce sync with ERP and wholesale systems.
Business process automation around WordPress and company systems.
Library of concrete automation use cases.
Headless WordPress, Sanity, Strapi, and Contentful with Astro or Next.js.
Astro, MDX, edge delivery, and Core Web Vitals measured on real traffic.
Custom WordPress engineering and architecture.
Scalable headless, ERP, and AI architecture for enterprise.
Related categories
Supporting articles

Six to sixteen weeks for typical engagements, with a four-phase shape: discovery, scoping, build and cutover, tuning. The variables are catalogue size, integration count, URL preservation, and editorial team readiness, not framework choice.

A definitive 4-year Total Cost of Ownership (TCO) analysis, real-world Core Web Vitals benchmarks, Astro 7 GraphQL APQ architecture, and a 10-point executive decision matrix for choosing between decoupled and traditional WordPress.

The Shopify Plus vs WooCommerce headless decision in 2026 is no longer a binary "platform vs custom" trade-off. Both can run headless, both integrate AI, both ship at the edge. The real axes are control, total cost over five years, and exit strategy. This article walks the matrix with confirmed platform facts.