title tag not there with SSR off, pre-render off #12239
Replies: 1 comment 2 replies
-
Can you expand on this? Is the submission form using a SvelteKit action? Prerendering does not work with SvelteKit actions but SSR shouldn't be an issue.
You can set the title tag in the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi
using ahref, I did an SEO audit for https://allboilerplates.com which is a dictionary app powered by svelte kit. The results were decent, almost no issues detected bar one: The route, where users can submit their boilerplate for listing has SSR and prerender off in the +page.server.ts file.
I am guessing because of that, there's no title tag displayed on the markup and ahref is flagging the page as having errors.
From memory, I needed to switch off prerender because there was an issue with the submission form otherwise causing a 500 on the server side and not rendering the form on the client and I think SSR if off for the same reason.
Anyway, is there a way to get a title tag when both prerender and SSR are false, or is that just one of those things I need to live with?
Cheers
Beta Was this translation helpful? Give feedback.
All reactions