{"id":24392,"date":"2013-07-22T02:18:27","date_gmt":"2013-07-22T02:18:27","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/tpg-redirect\/"},"modified":"2023-08-18T15:42:39","modified_gmt":"2023-08-18T15:42:39","slug":"tpg-redirect","status":"publish","type":"plugin","link":"https:\/\/kaa.wordpress.org\/plugins\/tpg-redirect\/","author":1232276,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.8","stable_tag":"1.0.8","tested":"6.3.8","requires":"3.0","requires_php":"","requires_plugins":null,"header_name":"TPG Redirect","header_author":"Criss Swaim","header_description":"","assets_banners_color":"dfefe0","last_updated":"2023-08-18 15:42:39","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/www.tpginc.net\/wordpress-plugins\/donate\/","header_plugin_uri":"http:\/\/www.tpginc.net\/wordpress-plugins\/","header_author_uri":"http:\/\/www.tpginc.net\/plugins\/","rating":4.5,"author_block_rating":0,"active_installs":10,"downloads":2673,"num_ratings":2,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.3":{"tag":"1.0.3","author":"cswaim","date":"2014-09-22 20:53:37"},"1.0.6":{"tag":"1.0.6","author":"cswaim","date":"2022-05-14 20:09:57"},"1.0.7":{"tag":"1.0.7","author":"cswaim","date":"2023-08-17 22:20:54"},"1.0.8":{"tag":"1.0.8","author":"cswaim","date":"2023-08-18 15:42:39"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":"1","5":"1"},"assets_icons":[],"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":744193,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.3","1.0.6","1.0.7","1.0.8"],"block_files":[],"assets_screenshots":[],"screenshots":{"1":"Admin page"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[41177,727],"plugin_category":[],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-24392","plugin","type-plugin","status-publish","hentry","plugin_tags-login-required","plugin_tags-redirect","plugin_committers-cswaim"],"banners":{"banner":"https:\/\/ps.w.org\/tpg-redirect\/assets\/banner-772x250.png?rev=744193","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/tpg-redirect_dfefe0.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>When this plugin is active and the option enabled, it checks for a logged in user.  If the visitor is not logged in, then the user is redirected to another site as defined in the redirect path option or will display a page with message as entered on from the settings.  If logged in, site acts as normal.<\/p>\n\n<p>Sites with this plugin active must access the site with sitename\/wp-admin and log in.<\/p>\n\n<h3>Usage<\/h3>\n\n<p>Install the plugin\nGo to the settings page\nSet the address for the redirect<\/p>\n\n<p>The active\/inactive switch allows temporary disabling of the plugin<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin to the <code>\/wp-content\/plugins\/<\/code> directory and unzip it.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>Set the redirect page in the settings tab.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='why%20do%20i%20need%20this%3F'><h3>Why do I need this?<\/h3><\/dt>\n<dd><p>If you have a development site and you want to keep unregistered users from accessing it.  Or if you are developing a site and want to refer visitors to another site until this is complete.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<p>= 1.0.7=\n* correct csrf vulnerability<\/p>\n\n<p>= 1.0.6=\n* correct warning with static call of function<\/p>\n\n<p>= 1.0.5=\n* correct class conflict error with shared classes<\/p>\n\n<p>= 1.0.4=\n* add option to show page with message\n* Correct fatal error.\n* Verify for WP 4.0<\/p>\n\n<p>= 1.0.3=\n* Correct warning messages.\n* Verify for WP 4.0<\/p>\n\n<p>= 1.0.2=\n* Correct error on static calls.<\/p>\n\n<p>= 1.0.1=\n* Update doc on settings page.<\/p>\n\n<p>= 1.0.0=\n* Initial release.<\/p>","raw_excerpt":"if a user is not logged in, redirect to site specified site or show page with user defined message.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/kaa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/24392","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kaa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/kaa.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/kaa.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=24392"}],"author":[{"embeddable":true,"href":"https:\/\/kaa.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/cswaim"}],"wp:attachment":[{"href":"https:\/\/kaa.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=24392"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/kaa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=24392"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/kaa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=24392"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/kaa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=24392"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/kaa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=24392"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/kaa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=24392"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}