-
-
Notifications
You must be signed in to change notification settings - Fork 10.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
next and prev rel links in head should detect https #4266
Comments
I'll take this one on! |
@MaluNoPeleke have you updated your ghost config URL to use https too? |
Yeah, looking into the code, prev and next already use SSL - provided you've set the You can also define your plain "url" to use "https", which would also take care of the issue. |
Right, I've done a bit more digging around and it looks like that is indeed the solution, and I don't see anything code-wise that needs changing. Going to close this for now, @MaluNoPeleke by all means come back if it doesn't fix your problem and we'll keep digging =) |
Reopening per @sebgie's comment:
|
I have set the url parameter to http and the urlssl parameter to https and every other link except the prev/next links change accordingly. |
It seems like this might be to do with I think @jillesme's PR was looking in the right direction but the signature for the method I think the 3 lines that look like this: https://github.com/TryGhost/Ghost/blob/master/core/server/config/url.js#L129 also need to be updated. When using the @jillesme would you be up for taking another stab at this? |
Yes definitely ! |
@jillesme the PR looks good to me. Unfortunately this PR has fallen a bit behind and would need a rebase. Are you around to do a quick rebase? |
I have added a SSL certificate to my Ghost blog and noticed, that the next and prev rel links in head won't use https for links but every other link does.
You can check it live on https://www.peleke.de vs. http://www.peleke.de
Ghost 0.5.2
See bug #685
The text was updated successfully, but these errors were encountered: