# If I already have a Wordpress site and want to add a Django app in the same hosting

**URL:** <https://forum.djangoproject.com/t/if-i-already-have-a-wordpress-site-and-want-to-add-a-django-app-in-the-same-hosting/8696>\
**Category:** Using Django\
**Created:** [July 8, 2021, 7:31pm UTC](https://forum.djangoproject.com/t/if-i-already-have-a-wordpress-site-and-want-to-add-a-django-app-in-the-same-hosting/8696 "2021-07-08T19:31:24Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![KenWhitesell](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/kenwhitesell/32/280_2.png) [@KenWhitesell](https://forum.djangoproject.com/u/KenWhitesell)\
**Post date:** [July 8, 2021, 9:39pm UTC](https://forum.djangoproject.com/t/if-i-already-have-a-wordpress-site-and-want-to-add-a-django-app-in-the-same-hosting/8696/2 "2021-07-08T21:39:50Z")

</div>

Hopefully you’ve got sufficient control over the web server sitting in front of the Wordpress site to be able to direct requests to two different places based on the URL. If so, then you can identify which URL your Django app sits under, and direct everything at that URL and below to Django.  
(For example, you might want to define your urls such that [http://example.com/wp/](http://example.com/wp/)… is everything associated with WordPress and [http://example.com/dj/](http://example.com/dj/)… is your Django installation.)  
The precise method for doing this is going to depend upon what web server (nginx, apache, lightspeed, etc) and Django wsgi container (uwsgi, gunicorn, etc) you’re going to use.

---

_[View the full topic](https://forum.djangoproject.com/t/if-i-already-have-a-wordpress-site-and-want-to-add-a-django-app-in-the-same-hosting/8696)._
