After cloning and running the repository locally, an initial audit using Chrome DevTools reveals a base SEO score of 75:
Let's optimize this score to reach 100%! πͺ
The meta description is not appearing in the DOM because the meta tags in main.wasp are commented out:
Uncomment the meta description section in your main.wasp file:
app OpenSaaS {
// ... other configurations ...
head: [
"<meta property='og:type' content='website' />",
"<meta property='og:title' content='My Open SaaS App' />",
"<meta property='og:url' content='https://opensaas.sh' />",
"<meta property='og:description' content='I made a SaaS App. Buy my stuff.' />",
],
}
Result β : After uncommenting these meta tags, you should see an improved SEO score:
The application lacks a valid robots.txt file:
Create a robots.txt file in your public directory (alongside the favicon) with the following content:
User-agent: *
Allow: /
Disallow: /admin/
Disallow: /api/
Disallow: /auth/Result β : This addition further improves the SEO score:
Some image elements lack alt attributes, particularly in the testimonials section (Da boi is one of them):
Update the image components in @src/landing-page/components/Testimonials.tsx to include descriptive alt attributes (line 25):
<img
src={testimonial.avatarSrc}
alt={`Profile picture of ${testimonial.name}`}
className='h-12 w-12 rounded-full'
/>Final Result π: After implementing all these improvements, you should achieve a perfect SEO score:
Following these 3 optimizations:
- π Implementing proper meta descriptions with react-helmet-async
- π€ Adding a valid robots.txt file
- πΌοΈ Including descriptive alt attributes for images
You've successfully improved your OpenSaaS template SEO score to 100, making it more discoverable and search engine friendly! π








This is great! I was hoping you had an idea on ways to set the metadata to be different from page to page? Some SEO validators aren't too happy my page title and description tends to be the same on every page, and that I'm missing canonical URLs. Any ideas?