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: 70
Joined: Thu Apr 06, 2017 1:22 pm

htaccess redirect to https

Post by ponton.z » Fri Aug 16, 2019 6:29 pm

Jak uruchomić w programie wtyczkę htaccess redirect to https ?

User avatar
BaconFries
 
 
Posts: 4608
Joined: Thu Aug 16, 2007 7:32 pm

Re: htaccess redirect to https

Post by BaconFries » Fri Aug 16, 2019 6:58 pm

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: 70
Joined: Thu Apr 06, 2017 1:22 pm

Re: htaccess redirect to https

Post by ponton.z » Fri Aug 16, 2019 7:04 pm

How to run the htaccess redirect to https plugin in the program?

User avatar
BaconFries
 
 
Posts: 4608
Joined: Thu Aug 16, 2007 7:32 pm

Re: htaccess redirect to https

Post by BaconFries » Fri Aug 16, 2019 7:07 pm

You cant as already mentioned you must configure it on your server.

ponton.z
 
 
Posts: 70
Joined: Thu Apr 06, 2017 1:22 pm

Re: htaccess redirect to https

Post by ponton.z » Fri Aug 16, 2019 7:41 pm

And you can describe how to do it (pattern)

alan_sh
 
 
Posts: 523
Joined: Tue Jan 01, 2019 5:50 pm

Re: htaccess redirect to https

Post by alan_sh » Fri Aug 16, 2019 8:02 pm

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: 70
Joined: Thu Apr 06, 2017 1:22 pm

Re: htaccess redirect to https

Post by ponton.z » Fri Aug 16, 2019 8:19 pm

Thank you works

Post Reply