How can I run WordPress under a sub-folder

Keywords: WordPress - AWS - Technical issue - Services (Apache, MariaDB, MySQL…)

bnsupport ID: bef761a3-08e2-5539-bc9b-9d2a869e2b17

bndiagnostic output:

? Apache: Found possible issues
? Resources: Found possible issues
https://docs.bitnami.com/general/apps/wordpress/troubleshooting/debug-errors-apache/
https://docs.bitnami.com/bch/apps/moodle/troubleshooting/deny-connections-bots-apache/

bndiagnostic failure reason: The suggested guides are not related with my issue

Description:
I installed the default WordPress image, created a “courses” sub-folder in the root folder of WordPress and then copied all files from the root to the sub-folder. This initially seemed to be working but then when I am saving posts or pages a many of the ajax requests return 404 not found. So I suppose my sub-folder setup is not correct.
How can I properly setup WordPress to run from a sub-folder and have the url show that sub-folder?

Hi @bogatinovski.dejan,

This guide in our documentation explains how to make that change

https://docs.bitnami.com/aws/apps/wordpress-multisite/administration/use-directories/

Let us know if everything works as expected after following the instructions

Happy to help!


Was my answer helpful? Click on :heart:

1 Like