[ad_1]
I have an AWS instance of Bitnami with WordPress, with a subdomain like https://blog.mydomain.com. Everything is working correctly, but my intention is for WordPress to be available at mydomain.com/blog.
Already edited the wp-config file by passing the urls to [https://mydomain/blog](https://mydomain/blog) and wordpress-https-vhost.conf
Even though my redirect works, I end up getting a 404 error. Where am I going wrong? I honestly feel confused and I’m going into a loop trying to solve this problem.
[ad_2]
I don’t know how the bitnami setup in azure works but my first try would be like this
If I got your setup right, now WP is installed into a root folder that is pointing to your subdomain blog.mydomain.com
Install WordPress to a root directory that is linked to mydomain.com/blog
Set up an htaccess rule to handle the redirect. You don’t do that in the conf files.
Is your site url set up correctly in WordPress > Settings? Does /blog exist as a page or a folder?