Why are canonical links http when site is https?

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
2/14/2020 6:36:51 PM
Gravatar
Total Posts 21

Why are canonical links http when site is https?

I'm doing some site troubleshooting and noticed that our canonical links are being written as http links not https. Is there any way to change this? We are using mojoPortal Version 2.5.0.0 MSSQL.

Thanks.

2/21/2020 1:09:07 PM
Gravatar
Total Posts 2253

Re: Why are canonical links http when site is https?

Hi Julie,

Thank you for reporting this. We're going to change the default in the next release so that this doesn't happen. 

You should be able to add the following to your user.config file. After changing the user.config, you will have to "touch" the web.config to get IIS to reload both files.

<add key="ForceHttpForCanonicalUrlsThatDontRequireSsl" value="false" />

Let us know if that doesn't do the trick for you.

Thanks,
Joe

You must sign in to post in the forums. This thread is closed to new posts.