• tumkplaza2021

    (@tumkplaza2021)


    Hello Everyone,

    I would like to know if it is possible to avoid the forced 301 redirection to the main domain name registered in the configuration panel in WordPress. Basically what I need is the same WordPress to be able to respond to two different domain names, because I am using an Application Load Balancer (ALB) of AWS with a CloudFront, and I want to be able to access the ALB through a sub-domain directly without having to go through CloudFront, so if anyone is using the main domain to go to the WordPress site it goes through CloudFront to the ALB but if we are using the sub-domain we can access the WordPress site through the ALB without that redirection to the main domain (and without going through CloudFront), so the site needs to be able to respond to both the main domain and the sub-domain.

    Thank you very much for taking the time to answer,

    Best regards

    • This topic was modified 3 years ago by Steven Stern (sterndata).
    • This topic was modified 3 years ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Everything else WordPress topic
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Avoid 301 redirection to the main domain when trying to acces the ALB’ is closed to new replies.