Permalink/ .htaaccess problem
-
Hi,
I’m getting a 404 error on my pages and can’t seem to figure out the permalink issue… I’ve created a .htaccess file and gave write permission to wordpress, but still not working..I get a 404 error on port 80 additionally, I’ve installed SSL and want to force SSL..
I’m not sure if it is that I closed port 80 when I went to ssl or not?? But here’s the htaccess file, and I appreciate any thoughts on this:
<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># END WordPress
- The topic ‘Permalink/ .htaaccess problem’ is closed to new replies.