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.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Linking to the logout page from within the CMS?

Go to End

3 Posts   1161 Views


Community Member, 49 Posts

29 June 2011 at 9:14am

Just wondering how I can include a link to the /Security/logout page using a HTML editor inside one of my pages?

If I add a link, my options are:

- Select a page from the site tree (logout isn't in the tree)
- Link to an external website (forces http:// onto the front of the URL)

Therefore, I cannot easily link to the logout page.

Are there any ways of doing this from within the CMS?


Forum Moderator, 1899 Posts

29 June 2011 at 11:49pm

could you setup a redirector page (that redirects for Security/logout) and then link to that?


Community Member, 49 Posts

7 July 2011 at 8:00am

Thanks for the reply!

I thought I was going to be stuck with the same problem when using a redirector page, but then I realised just to use an absolute URL as a link to the logout page...

Simple, really :S

Thanks again