• Join the best UK dedicated SEO Forum

    Provide or get advice on everything SEO, ask questions, gain confirmation or just become apart of a friendly, like minded community who love SEO and Online Marketing.


    Join 50,000 members!

Single Page Apps (vue etc) with a server-built HTML version for crawlers: how does this stack up?

M

mike224

New Member
I run a learning site built as a Vue 3 single page app with a PHP (Slim) backend. A normal visitor gets the app, but a search engine or someone with JavaScript off gets plain server-built HTML.

For the seo part, I wrote this as a plugin in my own framework. For pages like tutorials, it outputs:
  • a unique title and meta description for each page
  • a canonical URL and Open Graph tags
  • JSON-LD structured data
  • a sitemap, robots.txt and an llms.txt
  • filter-aware titles on list pages (for example "Intermediate Tutorials tagged with: ..."), with tags and levels as real links
I also fixed a problem Search Console flagged, where my preview videos couldn't be indexed.
I built most of this with Claude Code, so I'd like human opinions on it. The site is new, with no backlinks yet, and Google results exist but are thin.
What I'd like to know:
  1. I've read that Google calls this kind of setup dynamic rendering, and says it's a workaround and not a long-term solution. Is that still how you see it, or is it fine for a site this size?
  2. How do you check that the crawler version and the visitor version show the same content, so it can't look like cloaking? Is URL Inspection in Search Console enough, or is there something better?
  3. Would moving to proper server-side rendering or static generation (Nuxt, for example) be worth it for a site like this? Or is it fine to keep what I have? (I actually dont think I can use Nuxt since most of the content will be dynamic)
  4. Anything else you'd check on a JavaScript site: internal links, structured data errors, page speed?

Thanks for any advice, including "you're doing it wrong".
 
Hey, yeah google still calls dynamic rendering a workaround, the main thing is the html version has to show the same content and links as the app or it starts to look like cloaking. i'd also check the vue router uses real urls and not # ones, google ignores everything after the hash.
 
so the urls look like this
example.com/tutorial/some-tutorial-name.13?lesson=some-lesson-name

and that renders the tutorial as a SPA (its very quick, most pages are 0 - 3 queries), but I build a html page for a new js version...
I google does look at your js site version and will pick up the content, but it's slower (so I have read), and other browsers \ LLM's \ social crawlers don't always pick up the js content, so hopefilly with this no JS version it wont get picked up as cloaked, I really am just trying to display the same content.

Does the content have to be exactly the same in terms of words, does it care about the css, I've tried really hard to place everything in the same position and make dynamic pages look almost identical, there is one small difference, the no js version have a small prompt near the top, they say something like:

"JavaScript is turned off, so you are seeing a simplified version of this page. Searching, playing videos and logging in need JavaScript."

I've also added things like thumbnails to the video tutorials and made it look a similar style for the no js version, I don't think it can hurt..
 
Does the content have to be exactly the same in terms of words, does it care about the css
no, css and layout don't matter at all, it just needs the same text, links and main content. the js-off notice is fine too. i'd just check that every ?lesson= url has a canonical pointing to itself, otherwise google might fold all the lessons into the one tutorial page.
 
Business SEO Services Business SEO services UK

Latest Products

Join the UK's SEO community

Ask about a ranking drop, share a test result, get a second opinion on a link. Membership is free and takes a minute.

Create a free account
Top