R
My Private Site – Make Your Whole Site Private, Force Login & Block Registration Spam Automation

Redirect logged-out visitors automatically to the login page

Redirect logged-out visitors automatically to the login page

What it does

Redirect logged-out visitors automatically to the login page It is one of the abilities the My Private Site – Make Your Whole Site Private, Force Login & Block Registration Spam plugin exposes, so an AI agent connected to your site can run it for you.

Input schema

FieldTypeRequiredDescription
input string Required What you want this ability to do, in plain language.

Output schema

FieldTypeDescription
result string The result produced by the ability.

Permissions

The agent's WordPress user needs these capabilities. Grant only what's listed here, never a full admin account.

🔒 edit_pages

How an agent calls it

Agents call this ability by name and pass the inputs it needs. A call looks roughly like this:

jonradio-private-site.redirect-logged-out-visitors-automatical
{
  "ability": "jonradio-private-site.redirect-logged-out-visitors-automatical",
  "args": { "input": ... }
}

The agent runs the ability, then hands the result back for you to review before anything is published.

Keep exploring

More My Private Site – Make Your Whole Site Private, Force Login & Block Registration Spam abilities

All My Private Site – Make Your Whole Site Private, Force Login & Block Registration Spam abilities →
P
Protect registration with built-in spam controls and
My Private Site – Make Your Whole Site Private, Force Login & Block Registration Spam
Protect registration with built-in spam controls and optional reCAPTCHA
B
Block GPTBot : Add a robots
My Private Site – Make Your Whole Site Private, Force Login & Block Registration Spam
Block GPTBot : Add a robots.txt rule to prevent OpenAI’s crawler from accessing your site.