WP Bitnami redirect within the same server

[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]
2 Comments
  1. 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

  2. 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?

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer