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 !
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login