You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -80,7 +80,7 @@ Changes are organized by date, with the most recent changes listed first.
80
80
- Added clarifying comment to `ORIGINAL_URL`/`NEW_URL` assignments explaining that both variables are kept intentionally for search-replace workflows and may diverge in future modifications.
81
81
- Extracted the supported DB charset whitelist (`utf8mb4`, `utf8`, `latin1`) into a `readonly ALLOWED_DB_CHARSETS` array at the top of `scripts/functions/vhost/vhost-import.sh`, making it easier to update supported charsets in the future.
82
82
- Replaced the hardcoded `case` statement for charset validation with a loop over `ALLOWED_DB_CHARSETS`, so the error message dynamically reflects the authoritative list.
83
-
-Optimised the post-import search-replace step: added `wp db search` pre-checks before each `wp search-replace` call to skip full-table scans when the source URL (`http://` or `https://`) is not present in the database, avoiding unnecessary work on large databases.
83
+
-Optimized the post-import search-replace step: added `wp db search` pre-checks before each `wp search-replace` call to skip full-table scans when the source URL (`http://` or `https://`) is not present in the database, avoiding unnecessary work on large databases.
84
84
- Fixed the site-verification failure branch to use `IMPORT_FORMAT == "two_file"` instead of `[[ -n "${WP_ARCHIVE_FILE}" ]]` for format detection, consistent with the rest of the script.
85
85
- Removed a duplicate WordPress extraction block in `scripts/functions/vhost/vhost-import.sh` that re-ran archive extraction and wp-config path detection after those steps had already completed.
86
86
- Prevented a single-zip import failure path where the duplicate block referenced `${WP_ARCHIVE_FILE}` (only populated in the two-file flow), which could trigger an unrecognized archive error.
@@ -101,7 +101,7 @@ Changes are organized by date, with the most recent changes listed first.
101
101
102
102
### 🔧 PHP AND MARIADB TUNING
103
103
104
-
- Updated the logic across the codebase to better optimize the server for a variety of configuration scenarios, including low an high memory environments.
104
+
- Updated the logic across the codebase to better optimize the server for a variety of configuration scenarios, including low and high memory environments.
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -68,7 +68,7 @@ es.install
68
68
69
69
### EngineScript Menu
70
70
71
-
After EngineScript is fully installed, type `es.menu`in console to bring up the EngineScript menu. Choose **1) Domain Configuration Tools**, then select **1) Create New Domain** or **2) Import Domain** to get started adding your first site to the server. If you're moving an existing site into EngineScript, the Import Domain function is fairly robust and should help simplify the process quite a bit.
71
+
After EngineScript is fully installed, type `es.menu`at the console to bring up the EngineScript menu. Choose **1) Domain Configuration Tools**, then select **1) Create New Domain** or **2) Import Domain** to get started adding your first site to the server. If you're moving an existing site into EngineScript, the Import Domain function is fairly robust and should help simplify the process quite a bit.
72
72
73
73
### Cloudflare
74
74
@@ -103,7 +103,7 @@ For more information, see [This is Brotli from Origin](https://blog.cloudflare.c
103
103
104
104
1. In WordPress, go to Settings >> Nginx Helper
105
105
2. Check Enable Purge.
106
-
3. Select "nginx Fastcgi cache" for Caching Method
106
+
3. Select "nginx FastCGI cache" for Caching Method
107
107
4. Select "Using a GET request to PURGE/url (Default option)" for Purging Method.
108
108
5. Check all of the boxes under Purging Conditions.
109
109
6. Save Changes.
@@ -146,8 +146,8 @@ Want to support EngineScript? [Sponsor this project](https://github.com/sponsors
146
146
147
147
|Command|Function|
148
148
|-|-|
149
-
|**`es.backup`**|Runs the backup script to backup all domains locally and *optionally* in the cloud|
150
-
|**`es.cache`**|Clear FastCGI Cache, OpCache, and Redis *(server-wide)*|
149
+
|**`es.backup`**|Runs the backup script to back up all domains locally and *optionally* in the cloud|
150
+
|**`es.cache`**|Clears FastCGI Cache, OpCache, and Redis *(server-wide)*|
151
151
|**`es.config`**|Opens the configuration file in Nano|
152
152
|**`es.debug`**|Displays debug information for EngineScript|
153
153
|**`es.help`**|Displays EngineScript commands and locations|
Copy file name to clipboardExpand all lines: config/home/enginescript-install-options.txt
+10-10Lines changed: 10 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -20,8 +20,8 @@
20
20
## EngineScript Install Debug Mode ##
21
21
# Prompts the user to continue or exit after each portion of the install script has run.
22
22
# Debug mode will print any errors that each install script encounters.
23
-
# Regardless of whether debug mode is enabled, EngineScript will generate a complete log of the script errors will be located at touch /var/log/EngineScript/install-error-log.log
24
-
# Run command es.debug to generate a complete server and error log. This is useful when submitting a GitHub issue.
23
+
# Regardless of whether debug mode is enabled, EngineScript will generate a complete error log at /var/log/EngineScript/install-error-log.log
24
+
# Run the es.debug command to generate a complete server and error log. This is useful when submitting a GitHub issue.
25
25
DEBUG_INSTALL=0
26
26
27
27
## Admin Subdomain (Recommended) ##
@@ -57,13 +57,13 @@ INSTALL_EXPANDED_PHP=0
57
57
## PHP Version Override ##
58
58
# Leave empty to use the default PHP version (currently 8.5)
59
59
# Set to "8.4" or "8.3" to install an older version instead
60
-
# This affects all PHP installation, configuration, and service management
60
+
# This affects all PHP installation, configuration, and service management.
61
61
# You can also switch versions at any time via: es.menu > Update Software > Switch PHP Version
62
62
PHP_VERSION_OVERRIDE=""
63
63
64
64
## Automatic Lossless Image Optimization ##
65
65
# Automatically perform lossless compression on all images on each domain.
66
-
# This script will remember which files have previously been compressed on the server, but will not be able to know if this was performed on a site from another server.
66
+
# This script remembers which files have previously been compressed on the server, but it cannot know if compression was performed on another server.
67
67
# Do not enable this feature if you have an image compression plugin or do lossless compression on images prior to uploading them to your site.
68
68
AUTOMATIC_LOSSLESS_IMAGE_OPTIMIZATION=0
69
69
@@ -77,7 +77,7 @@ INSTALL_ENGINESCRIPT_PLUGINS=1
77
77
## Install Extra WordPress Plugins ##
78
78
# When enabled, EngineScript will install additional recommended WordPress plugins during site creation:
# Recommended if you allow EngineScript to auto-update. In the event that a change is pushed live that breaks servers, this emergency-only script will run to attempt a self-heal.
135
-
# This script runs hourly, but will not contain any code unless there is a code issue that warrants emergency measures be taken.
134
+
# Recommended if you allow EngineScript to auto-update. If a live change breaks servers, this emergency-only script will attempt a self-heal.
135
+
# This script runs hourly, but will not contain any code unless there is a code issue that requires emergency measures.
Copy file name to clipboardExpand all lines: config/var/www/wordpress/wp-config.php
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -92,7 +92,7 @@
92
92
define( 'IMAGE_EDIT_OVERWRITE', true );
93
93
define( 'MEDIA_TRASH', true );
94
94
define( 'WP_POST_REVISIONS', 2 ); // Can also be set to false
95
-
define( 'ALLOW_UNFILTERED_UPLOADS', false ); // Allows admins to upload files that would WordPress would normally filter by default such as .CSV and .TXT.
95
+
define( 'ALLOW_UNFILTERED_UPLOADS', false ); // Allows admins to upload files that WordPress would normally filter by default, such as .CSV and .TXT.
96
96
97
97
/* Jetpack Brute Force Attack Protection */
98
98
// https://jetpack.com/support/protect/
@@ -127,7 +127,7 @@
127
127
//define( 'WP_SENTRY_ENV', 'production' );
128
128
129
129
/* Compression */
130
-
// Leave these disabled unless you absolutely need them for whatever reason. This is done with Nginx and Cloudflare.
130
+
// Leave these disabled unless you absolutely need them. This is handled by Nginx and Cloudflare.
131
131
//define( 'COMPRESS_CSS', true );
132
132
//define( 'COMPRESS_SCRIPTS', true );
133
133
//define( 'ENFORCE_GZIP', true );
@@ -156,7 +156,7 @@
156
156
define( 'RECOVERY_MODE_EMAIL', 'SEDWPRECOVERYEMAIL' ); // When any site visitor attempts loading your site and encounters a fatal error, WordPress will send an email outlining the error details.
0 commit comments