SSL 404 Error with WordPress Multisite

572 Views Asked by At

I just installed SSL on my DigitalOcean droplet, but when I try to view my pages over SSL, it returns a 404 error page. Viewing over normal http works just fine though. Any advice?

2

There are 2 best solutions below

0
On BEST ANSWER

I finally fixed it after, what felt like a lifetime of editing virtual host files.

DocumentRoot /Directory/of/Website/

<Directory />
    Options FollowSymLinks
    AllowOverride All
</Directory>
<Directory /Directory/of/Website/>
    Options Indexes FollowSymLinks MultiViews
    AllowOverride All
    Order allow,deny
    allow from all
</Directory>

Change "none" in the "AllowOverride" lines to "all" in the Virtual Host config for port 443. Or whatever port you have SSL running on.

1
On

How are you linking subsites together?

For SSL to work, you MUST have it signed to *.domain.com (this way you will get www.domain.com and also subsite.domain.com), and into your WPMU configs, you should use subdomain as routes.

Be extremely carefull when installing SSL, because I've seen many people losing it for configuring it directly with some subdomain.domain (like www)