Vishnu Vankayala
Vishnu Vankayala

Reputation: 129

Installing wordpress on Azurewebsites running Django

We are running Django application on Azure websites. We would like to install a blog on www.example.com/blog.

We uploaded wordpress into root directory, www.example.com/blog. But Django URL handler is stopping the request to the subdirectory and issuing an 404 page.

How to solve this issue?

Upvotes: 0

Views: 93

Answers (1)

Peter Pan
Peter Pan

Reputation: 24128

It sounds like you want to deploy multiple apps (a wordpress in PHP & a Django in Python) on the same Azure website instance.

So the steps as below, please try.

  1. First of all, please check the PHP runtime option of Application settings whether enabled on Azure portal, as the figure below, and refer to the offical document Configure PHP in Azure App Service Web Apps to know more details.

enter image description here

  1. To configure a new entry of Virtual applications and directories on Azure portal as the figure below, which is very similar with the other SO thread How to Deploy Multiple Apps on Azure WebApps that you can refer to.

enter image description here

  1. Finally, you can upload the wordpress installation files into the path site/wwwroot/blog and install it normally.

Hope it helps.

Upvotes: 1

Related Questions