password protection not working
-
Hi Armin,
I tried to set a page to password protected or to draft but both doesn't work. I cleared the cache and also checked the page in incognito mode. Any idea? Lay theme is up to date.
-
hey, i checked kristinbethge.com/print/ ā that url is a woocommerce product archive (body classes: post-type-archive-product, woocommerce-shop), not a regular wordpress page.
wps password protection and draft status only apply to individual posts/pages, they dont work on auto-generated archive urls.
so setting the "print" page to draft/protected probably doesnt affect the /print/ url because the archive rewrites to it regardless.
options: 1. if "print" should be a real page instead of a wc archive, you'll need to restructure ā either change the wc shop base or delete the /print/ page and rename the archive.
OR rename the page /print to sth else, like change the permalink
-
okay. Thanks @arminunruh !
For 1on1 paid Lay Theme Coaching, contact: audrey@cyberslayers.work.
We also code custom websites or custom Lay features.
šæ Email us here: šæ
info@laytheme.com
Our Web Development company: 100k.studio
Want to tip me? https://www.paypal.com/paypalme/arminunruh
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options ā Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it