If you host a site studio site using HTTPS, you may notice some links being incorrectly generated by server-side scripts (ie. ssGetServerRelativePath); specifically, the home page "URL Directory Name" being used as a prefix. This results in broken links, but are otherwise valid when viewed via HTTP.
The reason for this is because the value of ssUrlPrefix changes when using HTTPS (most likely "/home/") vs. HTTP ("/"). Unless you want your homepage to be, for example, http://stellentpmp.blogspot.com/home instead of http://stellentpmp.blogspot.com, ssUrlPrefix should be consistent throughout the site.
So how do we fix this?
The answer is simpler than you think. Login to the content server and navigate to Administration » Site Studio Administration » Manage Web Site Addresses. Typically, you have one web site address for each web site hosted on the content server, but you need to add a second address with the SSL port for each web site that uses HTTPS, like so:
If you're interested in why you need to do this and/or how I figured this out, read on. Otherwise, thank you for reading :)
The reason for this is because the value of ssUrlPrefix changes when using HTTPS (most likely "/home/") vs. HTTP ("/"). Unless you want your homepage to be, for example, http://stellentpmp.blogspot.com/home instead of http://stellentpmp.blogspot.com, ssUrlPrefix should be consistent throughout the site.
So how do we fix this?
The answer is simpler than you think. Login to the content server and navigate to Administration » Site Studio Administration » Manage Web Site Addresses. Typically, you have one web site address for each web site hosted on the content server, but you need to add a second address with the SSL port for each web site that uses HTTPS, like so:
Web Site: [select your web site]
Address: [your web site address]:[SSL port]
For example:
Web Site: stellentpmp (stellentpmp.blogspot.com)
Address: stellentpmp.blogspot.com:443
If you're interested in why you need to do this and/or how I figured this out, read on. Otherwise, thank you for reading :)
2 comments:
Grеаt pоst. I was checkіng constantly this blοg аnԁ Ӏ
am іmpгеssed! Vегy
useful infοrmation sρecifically the lаst part
:) I сare fοг such info much. I was seeking this partiсular info for a
veгy long time. Τhanκ you and best of lucκ.
My ρagе :: сhatгoulette (http://Madchatroulette.De/)
Thanks for your maгѵelous postіng!
I genuinely enjoyed гeaԁing it, yοu coulԁ
be a grеat author. I will ensuгe that I boοκmark уоuг blοg and
may come back in the forеseеable futuгe.
I want to encοurage yoursеlf to cοntinuе your great writing, have a nice afternoon!
Feel free to suгf tο my site .
.. hemorrhoids **
Post a Comment