This is an updated guide on how to automatically post WordPress blog posts to your website, and I figured I could make a new, updated guide on how to do this. I created an earlier tutorial last year where I used a Discord Webhook, but now you can do it smoothly and safely thanks to Discord integration on IFTTT. I was the first to provide a tutorial on how to do this since there were no other guides on this. And now, this guide is for 2021 users.
What you need
To set this up, you will need the following:
- A Discord server with at least one channel
- A WordPress site
- An account on IFTTT, which is what we’ll be using
Step 1: Create an IFTTT account
For the purpose of this tutorial, you will need to set up an account on the website IFTTT, which is what we will use. IFTTT is short for If This Then That. I first heard of it when I was setting up my Twitter bot to automatically post every tweet I write. If you do not have an account on IFTTT yet, you will need to set up one. You can also use an Apple ID, as well as a Google or Facebook account to set one up. I set mine up using my Google account.
If you’ve already set up an IFTTT account, you can skip this step.
Step 2: Integrate your WordPress site and Discord account
Before you can set up your applet, you will need to integrate both the WordPress site you want to post its posts to, and the Discord server you want to receive the posts. You need to be an administrator of that server to do this. Please note you will be doing this when you are creating the applet, so you can disregard this step.
Step 3: Create your applet
Return to IFTTT and click the Create button on the top page. Click the Plus button right next to “this.” Search “WordPress” and click it once it appears. Once you do so, click “Any new post” as the trigger. If you’re asked to enter your blog details, enter the URL of your WordPress site (you may also need to log in with your WordPress account). After that, click the Plus button again next to “that” and search “Discord,” followed by choosing the “Post a message to a channel” trigger.
NOTE: In September 2020, IFTTT changed to a subscription-required business model. This means free users can create up to three applets and must upgrade to Pro to remove this limitation. This decision was necessary because too many users were using the site for free and resulted in decline in revenue. Therefore, they were not meeting their revenue goals.
Step 4: Program the actions
You’re almost done. All you need to do is select the server and channel you want to post the message to. Please note you must invite the IFTTT bot to your server in order to execute this action. Customize the message, and click Create Action. Review the applet and click Finish. Viola! Your applet is now ready to post every blog post you make on your Discord server. Create a random post to try it out. It may take a while for the IFTTT action to execute, so be patient. The first time it ran it took around 15 – 30 minutes to post the message on Discord, but in some cases it can take longer.