Virtual Happy Hour this month, Jun 28, we'll be getting a sneak preview at our soon to launch SaaS CMS!

Try our conversational search powered by Generative AI!

SSL on part of site

I want to use SSL on 2 pages/page types on a site for a customer. I have been trying a redirect for those pagetypes but there when I do that all the links in menus etc become https links which I don't want. Does anyone have a solution on how to use SSL on part of the site?
Mar 08, 2005 9:33
The links are relative, which is a good thing. If you look at the code, you'll see that https is not part of the href. To avoid this, you need to use full urls, and you probably want to use Configuration.HostUrl to do this. But beware that HostUrl is a "smart" property that automatically detects that the site is running in SSL mode, and prepends https for you. See the HostUrl SDK documentation on how to avoid this. /Steve
Mar 08, 2005 10:29

Hey. Did you get any further with this? As I have a requirement to have a part of my site under SSL.

Could anyone advise what would be the best route here? I was thinking of having a property on a page to say whether it should be in SSL mode or not? Then when it hits a page with it turned off, it switches back to HTTP does that sound a good solution?


Jul 31, 2009 14:55
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.