Update README.md

This commit is contained in:
2025-07-01 13:34:55 +00:00
parent bce842ac2d
commit 3939431298

View File

@@ -358,7 +358,7 @@ nano wp-config.php
- **Once inside the .php file, you'll want to copy/paste into this config file AFTER the '<?php' line!**
- ** Before copying, you'll first need to make the changes that I notated to match what your website name is as well as the Redis server #**
- ** Before copying, you'll first need to make the changes that I notated to match what your website name is as well as the Redis server number**
```php
// Change the URL to match your actual domain address. Example for ' website.com '
@@ -396,7 +396,9 @@ define('WP_REDIS_READ_TIMEOUT', 1);
</a>
</p>
- **Now you WILL NOT be able to reach your website unless you access it via the specified domain so you'll need to configure your reverse proxy. In my case, that will be Caddy.**
- **Restart the Wordpress container to apply changes.**
- **Now you WILL NOT be able to reach your website unless you access it via the specified domain until you configure your reverse proxy. In my case, that will be Caddy.**
<br>
@@ -404,15 +406,24 @@ define('WP_REDIS_READ_TIMEOUT', 1);
# Caddyfile configuration
- **Caddyfile configuration**
- **Here is an example of a Caddyfile that points scrapyardplays.com and www.scrapyardplays.com to the local site I chose in my .yml file, 192.168.0.250:9018**
<p align="center">
<a href="https://tip.jhammah.com">
<picture>
<img src="https://jhammah.com/wp-content/uploads/2025/06/caddyfile-1.png" alt="Screenshot" width="1100">
</picture>
</a>
</p>
```bash
scrapyardplays.com, www.scrapyardplays.com {
reverse_proxy http://192.168.0.250:9018 {
trusted_proxies 0.0.0.0/0
}
tls {
dns cloudflare ################################
}
}
```
- **Adjust for your domain and port, save the Caddyfile, then restart the Caddy service.**
- **If everything went according to plan, you should be able to reach your site by typing in your domain!**
- **To get to your WP Admin UI Login, add ' /wp-admin ' at the end of your domain and it should take you to your login page.**
<br>
@@ -420,16 +431,22 @@ define('WP_REDIS_READ_TIMEOUT', 1);
# Redis Plugin
- **Redis Plugin**
- **Finally we're at our last step which is installing the Redis Plugin for your Wordpress site.**
- **This is actually an optional step but I highly recommend it. Without the Redis plugin installed, enabled, and configured to a Redis server, web pages can take FOREVER to load!**
- **On the left, click on Installed Plugins and select Add Plugin**
<p align="center">
<a href="https://tip.jhammah.com">
<picture>
<img src="https://jhammah.com/wp-content/uploads/2025/06/plugin-1.png" alt="Screenshot" width="1100">
<img src="https://jhammah.com/wp-content/uploads/2025/06/plugin-1.png" alt="Screenshot" width="1000">
</picture>
</a>
</p>
- **Search for Redis in the top right and Install the Redis Object Cache plugin from the results. After it installs, click Activate.**
<p align="center">
<a href="https://tip.jhammah.com">
<picture>
@@ -438,10 +455,12 @@ define('WP_REDIS_READ_TIMEOUT', 1);
</a>
</p>
- **In the Redis plugin settings, click Enable Object Cache AND IF your server was setup correctly using the steps in thie tutorial, you should see 3 green check marks. That means your website will load MUCH faster**
<p align="center">
<a href="https://tip.jhammah.com">
<picture>
<img src="https://jhammah.com/wp-content/uploads/2025/06/plugin-3.png" alt="Screenshot" width="1100">
<img src="https://jhammah.com/wp-content/uploads/2025/06/plugin-3.png" alt="Screenshot" width="720">
</picture>
</a>
</p>
@@ -449,7 +468,7 @@ define('WP_REDIS_READ_TIMEOUT', 1);
<p align="center">
<a href="https://tip.jhammah.com">
<picture>
<img src="https://jhammah.com/wp-content/uploads/2025/06/plugin-4.png" alt="Screenshot" width="1100">
<img src="https://jhammah.com/wp-content/uploads/2025/06/plugin-4.png" alt="Screenshot" width="720">
</picture>
</a>
</p>
@@ -460,7 +479,7 @@ define('WP_REDIS_READ_TIMEOUT', 1);
# Final Test
- **Final test**
- **Now when testing out your site, flipping between pages should be near instantaneous and it will stay fast for a long time. The more pictures, code, and scripts you add to your site, the slower it can become nomatter how many Redis servers you have.**
<p align="center">
<a href="https://tip.jhammah.com">
@@ -470,6 +489,8 @@ define('WP_REDIS_READ_TIMEOUT', 1);
</a>
</p>
- **But congradulations! You did it! I'm so proud of you.**
<H1 align="center">Support the channel so I can make more tutorials!</h1>
<H1 align="center"><a href="https://tip.jhammah.com">If this tutorial helped you out, feel free to buy me a coffee!</h1>