mskwebSEO Website
Own product · Web Application
This website: a React single-page application with build-time prerendering for search engines and a PHP backend that verifies and delivers project enquiries.
- Client or industry: mskwebSEO (own product)
- Status: Live
- Role: Architecture, frontend and backend development, deployment and ongoing maintenance
The Business Problem
A JavaScript-only site served the same metadata on every URL to crawlers and link previews, and enquiry emails were sent from the browser, which left the spam check open to bypass.
Approach
Keep the React architecture, but add a build step that prerenders each route, move enquiry handling to a server endpoint, and profile the page with Lighthouse to remove what slowed it down.
The Solution
A Node build script generates route-specific HTML and the sitemap, Apache rewrite rules serve them with correct 404s, and a PHP endpoint verifies Turnstile, validates input, rate-limits and sends each enquiry.
Features Implemented
- Build-time prerendering of every route with per-page metadata and structured data
- Server-side enquiry API with Cloudflare Turnstile verification
- Input validation, rate limiting and header-injection protection
- Consent-based analytics and performance tuning for mobile
Technical Architecture
- Visitors and search engines: Browsers, Crawlers and link previews
- Build: React, Vite, Tailwind CSS, Prerendered HTML and sitemap per route
- Hosting: Apache rewrites to prerendered pages, Real 404s, HTTPS and caching rules
- Enquiries: PHP endpoint, Turnstile verification, validation and rate limiting, Email to the inbox
Connected services: Cloudflare Turnstile, Google Analytics 4 (with consent)
Technologies Used
React, Vite, Tailwind CSS, React Router, PHP, Apache, Cloudflare Turnstile
Outcome
- Every route has its own title, description, canonical URL and structured data
- Enquiries are only sent after server-side bot verification
- Lighthouse scores of 100 for SEO, accessibility and best practices on the production build
Related service: Website Design & Development · Start a project enquiry