Cloudfront SSL issue on wordpress. Too many redirects2019 Community Moderator ElectionWordPress + CloudFront Flexible SSL ends up in redirect loop (https)HTTPS for Amazon S3 static websiteCloudfront redirect www to naked domain with sslIIS server redirect issue behind CloudfrontCloudFront redirect on domain name, but domain name is not working with SSLS3 Cloudfront - Redirects to the file pathHow to redirect HTTP to HTTPS using S3, Cloudfront, and Route 53 using naked domains?CloudFront double redirect my naked domainToo many redirects when using CloudFront + Lambda + CNAMEAWS cloudfront with SSL issue in Lightsail - redirectingRedirecting from example.com to www.example.com with AWS Cloudfront and S3
Why do phishing e-mails use faked e-mail addresses instead of the real one?
Cycles on the torus
Is divide-by-zero a security vulnerability?
Logistic regression BIC: what's the right N?
Rationale to prefer local variables over instance variables?
What can I do if someone tampers with my SSH public key?
Having the player face themselves after the mid-game
Was it really inappropriate to write a pull request for the company I interviewed with?
Help! My Character is too much for her story!
Why is there an extra space when I type "ls" on the Desktop?
Do black holes violate the conservation of mass?
ESPP--any reason not to go all in?
Writing text next to a table
Called into a meeting and told we are being made redundant (laid off) and "not to share outside". Can I tell my partner?
Are small insurances worth it?
The (Easy) Road to Code
What does *dead* mean in *What do you mean, dead?*?
Use Mercury as quenching liquid for swords?
Is it possible to clone a polymorphic object without manually adding overridden clone method into each derived class in C++?
"If + would" conditional in present perfect tense
Does an unused member variable take up memory?
Either of .... (Plural/Singular)
Idiom for feeling after taking risk and someone else being rewarded
What is this tube in a jet engine's air intake?
Cloudfront SSL issue on wordpress. Too many redirects
2019 Community Moderator ElectionWordPress + CloudFront Flexible SSL ends up in redirect loop (https)HTTPS for Amazon S3 static websiteCloudfront redirect www to naked domain with sslIIS server redirect issue behind CloudfrontCloudFront redirect on domain name, but domain name is not working with SSLS3 Cloudfront - Redirects to the file pathHow to redirect HTTP to HTTPS using S3, Cloudfront, and Route 53 using naked domains?CloudFront double redirect my naked domainToo many redirects when using CloudFront + Lambda + CNAMEAWS cloudfront with SSL issue in Lightsail - redirectingRedirecting from example.com to www.example.com with AWS Cloudfront and S3
Let me explain our architecture first.
www.example.com CNAME points to cloudfront distribution (d3xxxxx.cloudfront.net)
Origin for the cloudfront: route.example.com. We had select **Whitelist Headers
** as HOST in cloudfront distribution
SSL installed on Cloudfront for the domain : www.example.com
route.domain.com points to Google cloud server which has apache webserver and wordpress installed.
Issue
1. When we hit the URL www.example.com without applying SSL certificate, the home page loads www.example.com however internal links redirecting to 'route.example.com' instead of www.example.com. We believe its because of siteurl on wordpress uses route.example.com
Issue 2. After applying SSL certificate on cloudfront, when we hit the URL 'https://www.example.com', the website ended up too many redirects
We have tried the URL "WordPress + CloudFront Flexible SSL ends up in redirect loop (https)" and it doesn't seems to be helping us.
Goal:
We want www.example.com to use cloudfront distribution along with SSL and doesnt want to expose webserver to enduser. The origin of the cloudfront should be route.example.com which will have wordpress application.
Any help would be appreciated.
wordpress ssl dns amazon-cloudfront
add a comment |
Let me explain our architecture first.
www.example.com CNAME points to cloudfront distribution (d3xxxxx.cloudfront.net)
Origin for the cloudfront: route.example.com. We had select **Whitelist Headers
** as HOST in cloudfront distribution
SSL installed on Cloudfront for the domain : www.example.com
route.domain.com points to Google cloud server which has apache webserver and wordpress installed.
Issue
1. When we hit the URL www.example.com without applying SSL certificate, the home page loads www.example.com however internal links redirecting to 'route.example.com' instead of www.example.com. We believe its because of siteurl on wordpress uses route.example.com
Issue 2. After applying SSL certificate on cloudfront, when we hit the URL 'https://www.example.com', the website ended up too many redirects
We have tried the URL "WordPress + CloudFront Flexible SSL ends up in redirect loop (https)" and it doesn't seems to be helping us.
Goal:
We want www.example.com to use cloudfront distribution along with SSL and doesnt want to expose webserver to enduser. The origin of the cloudfront should be route.example.com which will have wordpress application.
Any help would be appreciated.
wordpress ssl dns amazon-cloudfront
add a comment |
Let me explain our architecture first.
www.example.com CNAME points to cloudfront distribution (d3xxxxx.cloudfront.net)
Origin for the cloudfront: route.example.com. We had select **Whitelist Headers
** as HOST in cloudfront distribution
SSL installed on Cloudfront for the domain : www.example.com
route.domain.com points to Google cloud server which has apache webserver and wordpress installed.
Issue
1. When we hit the URL www.example.com without applying SSL certificate, the home page loads www.example.com however internal links redirecting to 'route.example.com' instead of www.example.com. We believe its because of siteurl on wordpress uses route.example.com
Issue 2. After applying SSL certificate on cloudfront, when we hit the URL 'https://www.example.com', the website ended up too many redirects
We have tried the URL "WordPress + CloudFront Flexible SSL ends up in redirect loop (https)" and it doesn't seems to be helping us.
Goal:
We want www.example.com to use cloudfront distribution along with SSL and doesnt want to expose webserver to enduser. The origin of the cloudfront should be route.example.com which will have wordpress application.
Any help would be appreciated.
wordpress ssl dns amazon-cloudfront
Let me explain our architecture first.
www.example.com CNAME points to cloudfront distribution (d3xxxxx.cloudfront.net)
Origin for the cloudfront: route.example.com. We had select **Whitelist Headers
** as HOST in cloudfront distribution
SSL installed on Cloudfront for the domain : www.example.com
route.domain.com points to Google cloud server which has apache webserver and wordpress installed.
Issue
1. When we hit the URL www.example.com without applying SSL certificate, the home page loads www.example.com however internal links redirecting to 'route.example.com' instead of www.example.com. We believe its because of siteurl on wordpress uses route.example.com
Issue 2. After applying SSL certificate on cloudfront, when we hit the URL 'https://www.example.com', the website ended up too many redirects
We have tried the URL "WordPress + CloudFront Flexible SSL ends up in redirect loop (https)" and it doesn't seems to be helping us.
Goal:
We want www.example.com to use cloudfront distribution along with SSL and doesnt want to expose webserver to enduser. The origin of the cloudfront should be route.example.com which will have wordpress application.
Any help would be appreciated.
wordpress ssl dns amazon-cloudfront
wordpress ssl dns amazon-cloudfront
asked Mar 6 at 13:33
Pheonix SolutionsPheonix Solutions
31
31
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55024367%2fcloudfront-ssl-issue-on-wordpress-too-many-redirects%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55024367%2fcloudfront-ssl-issue-on-wordpress-too-many-redirects%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown