• durangokid

    (@durangokid)


    I am migrated my version of Bitnami WordPress Apache on AWS to a new instance with WordPress 6.5.4. I loaded the server, configured the Letsencrypt certificate and restored the backup. Okay, the blog works fine.

    I use CloudFront, in Origins with a reference of Origin name my-blog to Origin Domain blog.mydomain.com

    And my Origin settings are: blog.mydomain.com https only, TLS v1.2, in Add custom header – optional, I have it configured header name referer and value blogMyadmin

    My problem now is to make a redirect so that every time I access my blog through the blog.mydomain.com page it is automatically redirected to mydomain.com/blog

    I made the configuration in the wordpress-htaccess.conf, wp-config.php and wordpress-https-vhost.conf files, and at first the blog was redirected, but and returning error 404

    Any suggestion?

Viewing 1 replies (of 1 total)
  • Thread Starter durangokid

    (@durangokid)

    Thanks @raasb110 for your feedback.

    1. In this case, as I am using a Bitnami instance, the WordPress Address and Site Address options were blocked, so I manually edited the wp-config.php file
    2. As for CloudFront, at first it doesn’t seem to have any major problems, and the configurations seem ok.
    3. Here’s the problem. Even though I write the changes to the wordpress-vhost.conf and wordpress-httpsp-vhost.conf files, the redirection occurs, but I always end up getting the 404 error

    I can’t check where I’m going wrong.

Viewing 1 replies (of 1 total)
  • The topic ‘Recirect WordPress Bitnami’ is closed to new replies.