{"id":21700137,"url":"https://github.com/wp-digital/wp-force-non-public","last_synced_at":"2026-05-10T17:04:09.806Z","repository":{"id":56991750,"uuid":"426189792","full_name":"wp-digital/wp-force-non-public","owner":"wp-digital","description":null,"archived":false,"fork":false,"pushed_at":"2021-11-09T16:40:12.000Z","size":2,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":12,"default_branch":"main","last_synced_at":"2025-02-26T22:17:16.818Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wp-digital.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-11-09T10:44:38.000Z","updated_at":"2023-07-23T15:15:03.000Z","dependencies_parsed_at":"2022-08-21T12:20:40.279Z","dependency_job_id":null,"html_url":"https://github.com/wp-digital/wp-force-non-public","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wp-digital%2Fwp-force-non-public","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wp-digital%2Fwp-force-non-public/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wp-digital%2Fwp-force-non-public/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wp-digital%2Fwp-force-non-public/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wp-digital","download_url":"https://codeload.github.com/wp-digital/wp-force-non-public/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244644682,"owners_count":20486840,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-25T20:13:00.397Z","updated_at":"2026-05-10T17:04:09.721Z","avatar_url":"https://github.com/wp-digital.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Force Non-Public\n\n### Description\n\nProgrammatically discourages search engines from indexing the site.\n\n### Install\n\n- Preferable way is to use [Composer](https://getcomposer.org/):\n\n    ````\n    composer require innocode-digital/wp-force-non-public\n    ````\n\n  By default, it will be installed as [Must Use Plugin](https://codex.wordpress.org/Must_Use_Plugins).\n  It's possible to control with `extra.installer-paths` in `composer.json`.\n\n- Alternate way is to clone this repo to `wp-content/mu-plugins/` or `wp-content/plugins/`:\n\n    ````\n    cd wp-content/plugins/\n    git clone git@github.com:innocode-digital/wp-force-non-public.git\n    cd wp-force-non-public/\n    composer install\n    ````\n\nIf plugin was installed as regular plugin then activate **Force Non-Public** from Plugins page\nor [WP-CLI](https://make.wordpress.org/cli/handbook/): `wp plugin activate wp-force-non-public`.\n\n### Usage\n\nTo enable plugin it's required to add constant (usually to `wp-config.php`):\n\n```\ndefine( 'FORCE_NON_PUBLIC', true );\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwp-digital%2Fwp-force-non-public","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwp-digital%2Fwp-force-non-public","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwp-digital%2Fwp-force-non-public/lists"}