I’m removing index.php from my site, which works fine using the simplest “file and directory check” method. I have a Wiki that’s for my eyes only (controlled first at the template level), but I’d additionally like to force the Wiki to use SSL (I have a certificate installed).
I can get it to work like this:
RewriteCond %{REQUEST_URI} wiki
RewriteCond %{SERVER_PORT} !^443$
RewriteRule (.*) https://www.masugadesign.com/$1 [R=301,L]
But that still adds “index.php” to the URL, which I don’t want. I’m missing some small part of that equation.
Also, I’m assuming I should go into the wiki templates and change something so all links start with “https://”? Or is that not possible? I see variables like “{path:view_category}” and I’m pretty sure there isn’t a “{securepath:view_category}” version.
Any help with the htaccess appreciated
