- Original Poster
- #1
I am facing errors with my htaccess.
Until now the WP based website was intent to be used as non-www to www.
Now that the website is https, the htaccess is giving errors left right and center.
I haven't made any changes but the website is now accessible
without www, with www, with http and with https
All I need is the website, with www https to be indexed and all existing visitors browsing http to be sent https.
Thank You
Until now the WP based website was intent to be used as non-www to www.
Now that the website is https, the htaccess is giving errors left right and center.
HTML:
# BEGIN W3TC Browser Cache
<IfModule mod_deflate.c>
<IfModule mod_headers.c>
Header append Vary User-Agent env=!dont-vary
</IfModule>
AddOutputFilterByType DEFLATE text/css text/x-component application/x-javascript application/javascript text/javascript text/x-js text/html text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/x-icon application/json
<IfModule mod_mime.c>
# DEFLATE by extension
AddOutputFilter DEFLATE js css htm html xml
</IfModule>
</IfModule>
# END W3TC Browser Cache
# 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
I haven't made any changes but the website is now accessible
without www, with www, with http and with https
All I need is the website, with www https to be indexed and all existing visitors browsing http to be sent https.
Thank You
Last edited: