[ASK] Tanya Seputar SSL


Status
Not open for further replies.
Coba di .htaccess sisipkan ini Tuan :

RewriteEngine on

RewriteCond%{HTTPS} off

RewriteRule^(.*)$ https://www.%{HTTP_HOST}/$1 [R=301,L]
di wordpressnya ya??
jadinya gini..
PHP:
# 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]
RewriteEngine on
RewriteCond%{HTTPS} off
RewriteRule^(.*)$ https://www.%{HTTP_HOST}/$1 [R=301,L]
</IfModule>

# END WordPress

pke htacces diatas malah internal server error Tuan
 
Status
Not open for further replies.
Back
Top