Louis C. Louis C. - 6 months ago 22
PHP Question

UserFrosting installation - pages showing with no CSS

I have just installed UserFrosting onto my project on Cloud 9 (c9.io). Everything has gone well apart from the fact that the pages appear with no CSS. Pages appear as plain text.

I have registered the master account (that registration page had CSS styling).

Any ideas on how to fix this?


Turns out I needed to uncomment the following lines in the .htaccess that came with UserFrosting:

RewriteCond %{HTTPS} !=on
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

This forwards HTTP to HTTPS.