Force SSL and Permalink redirects
I've got two issues on my site.
1- SSL is installed, but I want to force all users to it.
2- When I change permalinks to domain/post-name from domain/default in WP my pages return an error 'The requested URL /test/ was not found on this server.' and refers to port 80.
My .hta access is here
<ifmodule mod_rewrite.c="">RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [R,L]
RewriteCond %{SERVER_PORT} ^80$
RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]</ifmodule>
# BEGIN WordPress
<ifmodule mod_rewrite.c="">RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]</ifmodule>
Additionally, I was reading around and thought that httpd.conf might be related to this, but searching my server could not find the .conf file, is that necessary for the .htaccess?