Using SSL security with all parts of an Elgg community

So, I would like to have a closed site that uses SSL (Https://) for all the communication between members and the server. Is there a way this can be done?

  • Ok, looking around I found this, however it only works if your Elgg Install is on a subdirectory. Also you need a static IP. So, please use this carefully, and make a backup your Elgg Folder before trying this.

    Open .htaccess file.

    Add this:

    RewriteCond %{SERVER_PORT} 80
    RewriteCond %{REQUEST_URI} <elgg subdirectory name>
    RewriteRule ^(.*)$ https://yourURL/elgg subdirectory name/$1 [R,L]

    Where <elgg subdiretory name> is the name of your subdirectory. 

    Use this if you have a self-signed SSL certificate that makes the HTTPS URL work. 

    Source: Sean Donovan


    Rodolfo Hernandez
    Arvixe/Elgg Community Liaison

  • If you have already install Elgg, go to Site Administration and add an 's' to http where it asks for site url.

    If you haven't installed Elgg yet, start the installed by going to https://<your site url>/

    Regardless - make sure you have SSL configured first.

    Oh, and do not check https for login if you are making the entire site https.

  • Thanks for the info! This is a great help, I was thinking we were going to need a developer to create a special plug in for this.

  • just now

    what if You want to configure the elgg script not to use SSL. in my own case i finished installing th elgg on a subfolder and can not log in using the initial registration details I supplied while setting the elgg site. It gave the following response when I tried to log in:

    404 Not Found

    The server can not find the requested page: (port 443)

    Please forward this error screen to's WebMaster.

    Apache/1.3.42 Server at Port 443