PLATFORM
  • Tails

    Create websites with TailwindCSS

  • Blocks

    Design blocks for your website

  • Wave

    Start building the next great SAAS

  • Pines

    Alpine & Tailwind UI Library

  • Auth

    Plug'n Play Authentication for Laravel

  • Designer comingsoon

    Create website designs with AI

  • DevBlog comingsoon

    Blog platform for developers

  • Static

    Build a simple static website

  • SaaS Adventure

    21-day program to build a SAAS

Question By
Unsolved

Create a page from WAVE Admin and allow access for non-admins

mikemastercorp

Sep 12th, 2023 12:51 PM

Hello all.

I am back to continuing my work on WAVE SAAS and now that I did, I am in a need to create a simple Terms & Conditions page from the admin, but to allow access to non-registered users to access it.

What is the best way to do so as when I create the page, the view point to /admin/pages/... and that link is not accessible by every user?

graham

Sep 12th, 2023 01:03 PM

What I did for this was

  • create a new "Page" from admin/pages
  • set the slug to terms
  • set the status to active
  • save the page
  • navigate to yoururl.test/p/terms and you'll see the page, either logged in or not logged in.
mikemastercorp

Sep 12th, 2023 01:28 PM

Thanks. That worked perfectly and I can even easily provide some custom markup if required. The only question is what route I can use to link to the page instead of just using the full URL as to eliminate a change of the SLUG during SEO to break the link?