Apologies for not replying for so long, but my requirements have changed and I no longer need to host the Wordpress site.
Just wanted to thank @KenWhitesell for helping out. In the end, I couldn’t find a way to host both the Django project and Wordpress site the way I wanted. I did managed to host a fresh Wordpress site on the same server, but not the Wordpress site that I intended to host.
For those having a similar issue, I recommend checking out these links:
- How to Run Django with WordPress at /blog Using the Same Domain on Nginx on Youtube
- Another answer by Ken on this forum in 2021
- How to run django and wordpress on NGINX server using same domain?
- How can I configure nginx to serve a Django app and a Wordpress site?
- How to run Django and Wordpress using Nginx and Gunicorn at the same domain?
- How to configure nginx to run Wordpress and Django