Goal of this Lesson:
Protect your course content so only students who purchase your course through WooCommerce can access the modules and lessons — using free tools and simple setup.
🧠 Why This Step Is Critical
Whether you’re using Tutor LMS or the Custom Viewer Method, your course needs to be protected behind a paywall.
With this setup:
- 🚫 Non-buyers can’t view your lessons
- ✅ Buyers instantly gain access after purchase
- 💸 You keep everything inside WordPress — no expensive memberships or add-ons
✅ Step 1: Install the “Page Restrict for WooCommerce” Plugin
- Go to Plugins > Add New
- Search for: Page Restrict for WooCommerce (by WP Masters or similar)
- Install and Activate
This plugin lets you lock individual pages based on whether the user has purchased a specific product.
🔐 Step 2: Restrict Each Lesson Page
Go to any Page (lesson or module) you’ve created.
- Scroll down to the Page Restrict section
- Enable “Restrict this page”
- Choose:
- “WooCommerce Product” → Select your course product (e.g., “Course Rocket Launcher”)
- Optional:
- Customize the message shown to users who haven’t purchased (e.g., “You must purchase this course to access this lesson.”)
Repeat for each page you want to lock.
💡 This works perfectly with the Custom Viewer Method, but also works alongside Tutor LMS if you want an extra layer of protection.
👤 Step 3: Test the Experience
Open your course page in an incognito window or log out of WordPress.
- You should see the restricted message on any lesson page
- When logged in as a user who has purchased, those pages load normally
🧠 Optional: Use a Redirect Instead of a Message
You can change the settings to redirect unauthorized users to:
- Your sales page
- Your checkout page
- A login page
Just update the “redirect URL” inside the plugin settings.
