{"id":85422,"date":"2018-05-10T07:31:20","date_gmt":"2018-05-10T07:31:20","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/really-simple-under-construction\/"},"modified":"2026-05-02T21:16:39","modified_gmt":"2026-05-02T21:16:39","slug":"really-simple-under-construction","status":"publish","type":"plugin","link":"https:\/\/id.wordpress.org\/plugins\/really-simple-under-construction\/","author":8857345,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.5.7","stable_tag":"1.5.7","tested":"6.9.4","requires":"6.0.0","requires_php":"7.4","requires_plugins":null,"header_name":"Really Simple Under Construction Page","header_author":"jonashjalmarsson","header_description":"Adds a really simple version of a Under Construction page.","assets_banners_color":"bfbcca","last_updated":"2026-05-02 21:16:39","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/paypal.me\/byjalma","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/really-simple-under-construction\/","header_author_uri":"http:\/\/jonashjalmarsson.se","rating":4.8,"author_block_rating":0,"active_installs":600,"downloads":8472,"num_ratings":9,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","changelog"],"tags":{"1.4":{"tag":"1.4","author":"jonas.hjalmarsson","date":"2022-03-21 13:17:20"},"1.4.1":{"tag":"1.4.1","author":"jonas.hjalmarsson","date":"2022-03-24 09:37:16"},"1.4.2":{"tag":"1.4.2","author":"jonas.hjalmarsson","date":"2022-03-25 12:45:27"},"1.4.3":{"tag":"1.4.3","author":"jonas.hjalmarsson","date":"2023-02-18 13:35:54"},"1.4.4":{"tag":"1.4.4","author":"jonas.hjalmarsson","date":"2023-06-30 16:54:31"},"1.4.5":{"tag":"1.4.5","author":"jonas.hjalmarsson","date":"2023-07-24 19:14:18"},"1.4.6":{"tag":"1.4.6","author":"jonas.hjalmarsson","date":"2023-08-03 14:46:52"},"1.5.0":{"tag":"1.5.0","author":"jonas.hjalmarsson","date":"2026-04-30 14:55:24"},"1.5.7":{"tag":"1.5.7","author":"jonas.hjalmarsson","date":"2026-05-02 21:16:39"}},"upgrade_notice":{"1.5.0":"<p>Recommended security update for all users. Blocks JavaScript injection on the Under Construction page, hardens the bypass cookie (Secure\/HttpOnly\/SameSite), tightens IP-whitelist validation, and fixes silent breakage with REST API, WP-CLI and cron.<\/p>","0.2":"<p>Upgrade, fixing beeing locked out from wp-admin if no secret word is set.<\/p>","0.1":"<p>First commit.<\/p>"},"ratings":{"1":0,"2":0,"3":1,"4":0,"5":8},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3519653,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3519653,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.jpg":{"filename":"banner-1544x500.jpg","revision":3519653,"resolution":"1544x500","location":"assets","locale":""},"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3519653,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":3519653,"resolution":"772x250","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3519653,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.4","1.4.1","1.4.2","1.4.3","1.4.4","1.4.5","1.4.6","1.5.0","1.5.7"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3519653,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3519653,"resolution":"2","location":"assets","locale":""}},"screenshots":{"1":"The settings page in Settings &gt; Really Simple Under Construction. Toggle the page on, paste in your HTML, set a secret word, and add IP addresses to the whitelist.","2":"An Under Construction page on the public frontend, rendered from the HTML saved in the settings."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[34619,253358,732,261563,733],"plugin_category":[52],"plugin_contributors":[202990],"plugin_business_model":[],"class_list":["post-85422","plugin","type-plugin","status-publish","hentry","plugin_tags-hide-site","plugin_tags-ip-whitelist","plugin_tags-maintenance","plugin_tags-secret-key","plugin_tags-under-construction","plugin_category-performance","plugin_contributors-jonashjalmarsson","plugin_committers-jonashjalmarsson"],"banners":{"banner":"https:\/\/ps.w.org\/really-simple-under-construction\/assets\/banner-772x250.png?rev=3519653","banner_2x":"https:\/\/ps.w.org\/really-simple-under-construction\/assets\/banner-1544x500.png?rev=3519653","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/really-simple-under-construction\/assets\/icon-128x128.png?rev=3519653","icon_2x":"https:\/\/ps.w.org\/really-simple-under-construction\/assets\/icon-256x256.png?rev=3519653","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/really-simple-under-construction\/assets\/screenshot-1.png?rev=3519653","caption":"The settings page in Settings &gt; Really Simple Under Construction. Toggle the page on, paste in your HTML, set a secret word, and add IP addresses to the whitelist."},{"src":"https:\/\/ps.w.org\/really-simple-under-construction\/assets\/screenshot-2.png?rev=3519653","caption":"An Under Construction page on the public frontend, rendered from the HTML saved in the settings."}],"raw_content":"<!--section=description-->\n<p><strong>Version 1.5.0 is a recommended security update for all existing users.<\/strong> It blocks JavaScript injection on the Under Construction page, hardens the bypass cookie (Secure\/HttpOnly\/SameSite), tightens IP-whitelist validation, and fixes silent breakage with WP-CLI, cron, and the REST API. The plugin's behavior and settings are unchanged \u2014 existing setups upgrade in place. See the changelog for the full list.<\/p>\n\n\n\n<p>Add a really simple Under Construction page to your website by enabling this plugin. Use IP whitelisting and a secret URL to grant access to selected users without logging in.<\/p>\n\n<p>Go to the settings page in Settings &gt; Really Simple Under Construction. Enable by checking the checkbox. The Under Construction page is only visible to visitors who are not logged in. You can optionally configure:<\/p>\n\n<ol>\n<li>The Under Construction page itself \u2014 paste any HTML (DOCTYPE, &lt;style&gt;, &lt;body&gt; etc. are supported, scripts are stripped).<\/li>\n<li>A secret word that lets you bypass the page via a URL like <code>?yoursecret<\/code>. A cookie is then stored so the same browser keeps access.<\/li>\n<li>The lifetime of that cookie, in days.<\/li>\n<li>A list of IP addresses to whitelist for users and services that should always see the real site.<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>1.5.7<\/h4>\n\n<ul>\n<li>Fix: when buying PRO from inside the free plugin, the license is now activated against LemonSqueezy <em>during<\/em> the install flow rather than left in a \"pending\" state for the user to activate manually afterwards. Errors that previously surfaced two steps later (most commonly \"license has reached its activation limit\") now show up in the install notice immediately, so the user can act on them right away. PRO's License tab opens already showing an active status when install succeeds.<\/li>\n<\/ul>\n\n<h4>1.5.6<\/h4>\n\n<ul>\n<li>Hotfix: the \"Get PRO\" checkout link was missing <code>\/checkout\/<\/code> in the URL path and 404'd. Buy flow now lands on the correct LemonSqueezy checkout. No other changes.<\/li>\n<\/ul>\n\n<h4>1.5.5<\/h4>\n\n<ul>\n<li>Internal refactor: the PRO upsell + auto-install flow is now a reusable module (<code>JHLSQ\\Purchase<\/code>) bundled at <code>jhlsq-purchase\/<\/code>. No user-visible change.<\/li>\n<li>Added a \"Read more \u2192\" link next to the Get PRO button so users can read about PRO on jonashjalmarsson.se before clicking through to checkout.<\/li>\n<\/ul>\n\n<h4>1.5.4<\/h4>\n\n<ul>\n<li>New: a \"Get Pro\" link in the Plugins list and a small notice at the top of the settings page when the PRO add-on isn't installed. Both are hidden automatically once PRO is active.<\/li>\n<li>New: clicking \"Get PRO\" from the settings page now opens the LemonSqueezy checkout in an overlay (lemon.js) instead of a new tab. After purchase, the same notice swaps into a short installer flow that fetches your license, downloads PRO from our update server, installs and activates it, and pre-fills the license key in PRO's License tab \u2014 without leaving wp-admin. A paste-the-key fallback is shown if anything in the auto flow stalls.<\/li>\n<\/ul>\n\n<h4>1.5.3<\/h4>\n\n<ul>\n<li>Developer: added <code>rsuc_html_output<\/code> filter so add-ons can post-process the Under Construction HTML before it goes to the wire (e.g. resolve shortcodes inside the template). No visible changes for end users.<\/li>\n<li>Bugfix: <code>\/wp-admin\/*<\/code> paths beyond the bare <code>\/wp-admin\/<\/code> root were being intercepted by the UC page because the admin-URL match compared a no-scheme host+path against a full URL. Switched to a <code>REQUEST_URI<\/code> prefix match so <code>admin-post.php<\/code>, <code>admin-ajax.php<\/code>, etc. reach WordPress as intended.<\/li>\n<\/ul>\n\n<h4>1.5.2<\/h4>\n\n<ul>\n<li>Developer: added two filter hooks for add-on plugins to extend the bypass logic. <code>rsuc_ip_whitelisted<\/code> (passes the resolved client IP) lets an add-on whitelist by CIDR range, geolocation, or any other rule. <code>rsuc_should_bypass<\/code> runs right before the UC page would render, so an add-on can match multiple secret URLs, time windows, or other custom signals. No visible changes for end users.<\/li>\n<\/ul>\n\n<h4>1.5.1<\/h4>\n\n<ul>\n<li>Developer: added action <code>rsuc_render_after_heading<\/code> on the settings page so add-on plugins can render a tab nav, an upgrade banner, or other UI between the heading and the settings form. No visible changes for end users.<\/li>\n<\/ul>\n\n<h4>1.5.0<\/h4>\n\n<p><strong>Recommended security update for all existing users.<\/strong> No settings changes, no migration \u2014 install the update, refresh the settings page, and you are done. Headlines below.<\/p>\n\n<ul>\n<li><strong>Security:<\/strong> the Under Construction HTML field now strips <code>&lt;script&gt;<\/code> tags, on-event handlers (onclick\/onload\/etc.) and <code>javascript:<\/code> URIs while preserving structural tags (DOCTYPE, html, head, style, body). A compromised admin account can no longer use this field to inject JavaScript that runs for visitors and other admins.<\/li>\n<li><strong>Security:<\/strong> the bypass cookie now sets Secure (when the site uses HTTPS), HttpOnly, and SameSite=Lax attributes \u2014 was readable from JS and replayable over plain HTTP before.<\/li>\n<li><strong>Security:<\/strong> the cookie value is now compared with <code>hash_equals()<\/code> to avoid timing leaks.<\/li>\n<li><strong>Security:<\/strong> the IP whitelist now validates entries with <code>FILTER_VALIDATE_IP<\/code> (rejects bogus addresses like <code>999.x.x.x<\/code> and accepts both IPv4 and IPv6).<\/li>\n<li>Bugfix: bail early on WP-CLI and cron requests \u2014 previously the plugin tried to render the Under Construction page during <code>wp<\/code> commands and <code>wp-cron.php<\/code> calls, which killed those commands silently. Cron jobs and CLI scripts now run normally.<\/li>\n<li>Bugfix: REST API requests (any URL containing <code>\/wp-json\/<\/code>) are now correctly bypassed. The 1.4.6 check used the wrong server variable, so REST calls were getting the Under Construction page when the plugin was active \u2014 silently broken since the bypass was added. Public REST endpoints work again.<\/li>\n<li>Bugfix: the \"skip plugin if request is to \/wp-json\/\" guard read <code>$GLOBALS['PHP_SELF']<\/code> which is never populated, so the bypass never fired. Switched to <code>$_SERVER['REQUEST_URI']<\/code> for actual reliability.<\/li>\n<li>Behavior: the Under Construction page now responds with HTTP 503 + <code>Retry-After<\/code>, so search engines see \"temporarily unavailable\" (correct semantics, won't deindex) and proxies\/CDNs no longer cache the placeholder over a real launch. Visitors see the same page as before.<\/li>\n<li>Hygiene: every translatable string now uses the matching <code>really-simple-under-construction<\/code> text domain (was <code>rsuc<\/code> short form), textareas are escaped with <code>esc_textarea<\/code>, every <code>register_setting<\/code> call has a <code>sanitize_callback<\/code>, the \"Add my IP\" button uses <code>addEventListener<\/code> + a JSON-encoded value. Bundled language files renamed accordingly.<\/li>\n<li>Tested up to WordPress 6.9.4.<\/li>\n<\/ul>\n\n<h4>1.4.6<\/h4>\n\n<ul>\n<li>Bugfix, not working for startpage since 1.4.5.<\/li>\n<\/ul>\n\n<h4>1.4.5<\/h4>\n\n<ul>\n<li>Minor code cleanup<\/li>\n<\/ul>\n\n<h4>1.4.4<\/h4>\n\n<ul>\n<li>Improved handling of login page<\/li>\n<\/ul>\n\n<h4>1.4.3<\/h4>\n\n<ul>\n<li>Added setting to make Wordpress static Homepage to be visible, the plugin still restricts all other pages.<\/li>\n<\/ul>\n\n<h4>1.4.2<\/h4>\n\n<ul>\n<li>Ignore if call to webhook wp-json<\/li>\n<\/ul>\n\n<h4>1.4.1<\/h4>\n\n<ul>\n<li>Bugfix Wordpress login blocked<\/li>\n<\/ul>\n\n<h4>1.4<\/h4>\n\n<ul>\n<li>Ignore if call to webhook wc-api<\/li>\n<\/ul>\n\n<h4>1.3.2<\/h4>\n\n<ul>\n<li>Minor bugfixes<\/li>\n<\/ul>\n\n<h4>1.3.1<\/h4>\n\n<ul>\n<li>Add your IP to textfield link added.<\/li>\n<\/ul>\n\n<h4>1.3<\/h4>\n\n<ul>\n<li>Whitelisting with IP address added. Settings layout updated. Refactored code.<\/li>\n<\/ul>\n\n<h4>1.2.1<\/h4>\n\n<ul>\n<li>Settings link added in plugins list. Author information updated.<\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>Bugfix, not working for startpage in some set ups.<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Language support added. sv_SE and en_US in first version.<\/li>\n<\/ul>\n\n<h4>0.2<\/h4>\n\n<ul>\n<li>Fix to ignore \"Under Construction\" page if current page is wp-admin or wp-login.php. Handles custom URLs.<\/li>\n<\/ul>\n\n<h4>0.1<\/h4>\n\n<ul>\n<li>First commit.<\/li>\n<\/ul>","raw_excerpt":"Hide your site behind a really simple Under Construction page. Bypass with a secret-word URL or an IP whitelist for testing.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/id.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/85422","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/id.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/id.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/id.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=85422"}],"author":[{"embeddable":true,"href":"https:\/\/id.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/jonashjalmarsson"}],"wp:attachment":[{"href":"https:\/\/id.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=85422"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/id.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=85422"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/id.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=85422"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/id.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=85422"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/id.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=85422"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/id.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=85422"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}