Ok, crisis resolved, found the solution for the biggest new issue. 99% my own fault - incorrect setup, I was misled due to being logged in as administrator, and testing via regular user account didn't run well. Anyway, let me try adding the php code now.
So, I added the code (using Snippets plugin), but nothing's changed. (I only added a couple pages' slugs into the array, my-account being the key one.)
Is there perhaps anything I need to setup in the Post Groups settings (in Access Control)?
Shane
Supporter
Languages:
English (English )
Timezone:
America/Jamaica (GMT-05:00)
Hi Jan,
Awesome, i'm happy to see the issue was resolved.
Lets test the code. Could you send me a page that is suppose to redirect guests to the login screen?
Thanks,
Shane
This one is set up in the array:
hidden link
Shane
Supporter
Languages:
English (English )
Timezone:
America/Jamaica (GMT-05:00)
Hi Jan,
I tried to test this but when I log in through FTP to add the code I wasn't able to find any of the wordpress folders , See Screenshot.
Could you check on this and let me know.
Thanks,
Shane
I think it depends on the client you use to access it. Direct access via my hosting provider does the same, access via Filezilla works well for me.
Shane
Supporter
Languages:
English (English )
Timezone:
America/Jamaica (GMT-05:00)
Hi Jan,
I'm using filezilla and the items from the screenshot are the only ones showing.
I'm not able to find the directory for the wordpress installation.
Thanks,
Shane
I think you are searching in a wrong folder. Can you access this one:
/webspace/siteapps/WordPress-537482
?
Shane
Supporter
Languages:
English (English )
Timezone:
America/Jamaica (GMT-05:00)
Hi Jan,
Thanks you I was able to debug and fix the snippet.
It should now be working.
Thanks,
Shane
Hi Shane,
It looks like it works! Many thanks for your help.
Jan