{"id":187330,"date":"2024-03-10T09:21:07","date_gmt":"2024-03-10T09:21:07","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/administrator-only\/"},"modified":"2024-07-05T11:06:10","modified_gmt":"2024-07-05T11:06:10","slug":"administrator-only","status":"publish","type":"plugin","link":"https:\/\/bg.wordpress.org\/plugins\/administrator-only\/","author":17128005,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.0","stable_tag":"trunk","tested":"6.6.5","requires":"6.2","requires_php":"8.0","requires_plugins":null,"header_name":"Administrator Only","header_author":"Tadamus","header_description":"A very lightweight utility plugin that makes your site private to anyone but logged-in administrators. The only pages that remain available to the public are the login page and any other page of your choosing.","assets_banners_color":"","last_updated":"2024-07-05 11:06:10","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/tadamuscom\/administrator-only","header_author_uri":"https:\/\/tadamus.com","rating":0,"author_block_rating":0,"active_installs":0,"downloads":706,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation"],"tags":[],"upgrade_notice":[],"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[225287,5237,225289,225288],"plugin_category":[],"plugin_contributors":[224139,223910],"plugin_business_model":[],"class_list":["post-187330","plugin","type-plugin","status-publish","hentry","plugin_tags-administrator-only","plugin_tags-hide-content","plugin_tags-protect-the-rest-api","plugin_tags-protect-your-site","plugin_contributors-sorinmarta","plugin_contributors-tadamuscom","plugin_committers-sorinmarta","plugin_committers-tadamuscom"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/administrator-only.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Administrator Only allows you to protect your front end pages or your REST API routes with just a few clicks.<\/p>\n\n<p>You can simply configure the plugin to enable the redirection, add the URL the unauthorized users should be redirected to and if you need to, select which pages should not be protected.<\/p>\n\n<p>If you enjoy using the plugin don't forget to <a href=\"https:\/\/github.com\/tadamuscom\/administrator-only\">\u2b50 star it on Github<\/a>.<\/p>\n\n<p>Also if you have any questions, don't hesitate to ask it in the forum or <a href=\"https:\/\/tadamus.com\/contact\">contact us<\/a>.<\/p>\n\n<!--section=installation-->\n<p>1 - Install the plugin from the WordPress repository.<\/p>\n\n<p>2 - Hover over <em>Tools<\/em> and click on <em>Administrator Only<\/em>.<\/p>\n\n<p>3 - Enable the redirect types you need.<\/p>\n\n<p>4 - Add the redirection URLs for the redirect types you chose in the previous steps.<\/p>\n\n<p>5 - If you need to allow access on some of the pages you can add their IDs in the <em>Allowed Pages<\/em> field.<\/p>\n\n<p>6 - Save the settings<\/p>\n\n<p><strong>Now your site is protected from unauthorized users!<\/strong><\/p>","raw_excerpt":"Enable redirects for your front end pages or your REST API routes with a few clicks.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/bg.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/187330","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bg.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/bg.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/bg.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=187330"}],"author":[{"embeddable":true,"href":"https:\/\/bg.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/sorinmarta"}],"wp:attachment":[{"href":"https:\/\/bg.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=187330"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/bg.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=187330"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/bg.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=187330"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/bg.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=187330"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/bg.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=187330"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/bg.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=187330"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}