htaccess redirect to https

This section is for posting questions which are not directly related to WYSIWYG Web Builder.
Examples of off topics: web server configuration, hosting, programming related questions, third party scripts.

Note that these questions will generally not be answered by the administrators of this forum.
Post Reply
ponton.z
 
 
Posts: 129
Joined: Thu Apr 06, 2017 1:22 pm

htaccess redirect to https

Post by ponton.z »

Jak uruchomić w programie wtyczkę htaccess redirect to https ?
User avatar
BaconFries
 
 
Posts: 5327
Joined: Thu Aug 16, 2007 7:32 pm

Re: htaccess redirect to https

Post by BaconFries »

This is something you will need to configure on your host/server which they should assist you with. Can you please use English to post questions as you have previously thanks.
ponton.z
 
 
Posts: 129
Joined: Thu Apr 06, 2017 1:22 pm

Re: htaccess redirect to https

Post by ponton.z »

How to run the htaccess redirect to https plugin in the program?
User avatar
BaconFries
 
 
Posts: 5327
Joined: Thu Aug 16, 2007 7:32 pm

Re: htaccess redirect to https

Post by BaconFries »

You cant as already mentioned you must configure it on your server.
ponton.z
 
 
Posts: 129
Joined: Thu Apr 06, 2017 1:22 pm

Re: htaccess redirect to https

Post by ponton.z »

And you can describe how to do it (pattern)
alan_sh
 
 
Posts: 1681
Joined: Tue Jan 01, 2019 5:50 pm

Re: htaccess redirect to https

Post by alan_sh »

This may work
RewriteEngine On
RewriteCond %{HTTPS} !on
RewriteCond %{REQUEST_URI} !\.well-known/acme-challenge
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
Alternatively look here https://www.inmotionhosting.com/support ... ccess-file
ponton.z
 
 
Posts: 129
Joined: Thu Apr 06, 2017 1:22 pm

Re: htaccess redirect to https

Post by ponton.z »

Thank you works
Post Reply