Need help with my .htaccess file
-
Hello guys,
Today I have installed SSL in my domain.
Now I want to redirect all https:// to https://
But I’m having some problems…For example, If I add this code:
RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
I think I have conflicts because of this one:
RewriteCond “%{DOCUMENT_ROOT}/wp-content/cache/page_enhanced/%{HTTP_HOST}/%`{REQUEST_URI}/_index%{ENV:W3TC_SSL}%{ENV:W3TC_PREVIEW}.html” -f
RewriteRule .* “/wp-content/cache/page_enhanced/%{HTTP_HOST}/%{REQUEST_URI}/_index%{ENV:W3TC_SSL}%{ENV:W3TC_PREVIEW}.html” [L]`Can someone give me a little help how to add redirect in my htaccess file correctly?
My file: https://paste2.org/4Ia8bpyZHope someone can help me, thanks!
Kind Regards,
Tim
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Need help with my .htaccess file’ is closed to new replies.