solved Is this 404 error caused by jrCore/router.php?

Eddy
Eddy
@eddy
9 years ago
479 posts
I installed a ssl cert today,

When I type a link using https://mysite.com/artist, everything is fine.
When I type a link using http://mysite.com/artist, I get a 404 not found error.

I notice that the jrCore/router.php has something to do with the redirection, how can I fix this?

Thanks

Eddy
updated by @eddy: 01/26/16 09:56:35PM
brian
@brian
9 years ago
10,148 posts
yeah this is my #3 in your other post:

http://www.jamroom.net/the-jamroom-network/forum/new_posts/34083/where-in-admin-panel-to-turn-on-ssl

You need to setup the rewrite in your .htaccess file.

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

AFTER the RewriteEngine On line.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net

Tags