Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo

SSL on individual pages

Go to End

3 Posts   1538 Views


Community Member, 156 Posts

3 July 2008 at 1:40pm

Hi All,

is there any way to activate SSL only on specific pages?

say for example a page where you want to process credit card details with a merchant?

I don't want the whole site to run under https because of speed issues.



Forum Moderator, 5523 Posts

3 July 2008 at 3:48pm

theres a bit of a discussion in the mailing list about something related -

You would use Director::forceSSL() on that page type I would guess.


Community Member, 156 Posts

9 July 2008 at 10:00pm

Thanks Willr I will give that a hit, I had tried it in the past but I may have missing something.