-
Notifications
You must be signed in to change notification settings - Fork 1
Wordpress Configurations
Simon Worthington edited this page Dec 10, 2021
·
2 revisions
- Post listings - number of posts - /wp-admin/options-reading.php
- wp-config.php
/*
- Portable WP hack by Simon Worthington FORCE11 Dec 2021 & DMB, based on root-relative-urls */ if (isset($_SERVER["HTTPS"]) && $_SERVER["HTTPS"] == "on") $scheme = "https://"; else $scheme = "http://"; define('WP_HOME', $scheme . $_SERVER['HTTP_HOST']); define('WP_SITEURL', $scheme . $_SERVER['HTTP_HOST']); //define('WP_CONTENT_URL', '/wp-content'); define('DOMAIN_CURRENT_SITE', $_SERVER['HTTP_HOST']);