I have a "Members only" download page and I do not want it indexed or public.
Best way to restrict a page to logged-in members?
Solution Go to post #4
Set the page Access to Registered (or a custom level). Then:
- Anonymous visitors are redirected to the login form.
- Search engines cannot reach it, so there is nothing to index.
- Files uploaded through the media manager are still public if someone knows the direct link; use the Protected files option for downloads.
If you want guests to see a teaser, create a short public page that links to the private one.
6 answers
Set the page Access to Registered (or a custom level). Then:
- Anonymous visitors are redirected to the login form.
- Search engines cannot reach it, so there is nothing to index.
- Files uploaded through the media manager are still public if someone knows the direct link; use the Protected files option for downloads.
If you want guests to see a teaser, create a short public page that links to the private one.
Which version of Lumen are you on, and which PHP? That usually narrows it down quickly.
@demo-rafael might know more about this. They answered something similar a while back.
Thanks, that helped! Marking this as solved on my side.
Not sure it applies to your case, but the docs have a short page about this: Getting started.
Have you looked at the error log? logs/error.log usually has the exact line.