Louis C. Louis C. - 1 year ago 85
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?

Answer Source

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.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download