Search found 2 matches

Page 1 of 1

Search found 2 matches

Re: How to do SSL "http to https" and "www to non-www" redir

not working :/ Make sure you have changed ALL URLs in your config.php and admin/config.php to be your SSL URL config.php: <?php // HTTP define('HTTP_SERVER', 'http://kasecim34.com/'); // HTTPS define('HTTPS_SERVER', 'https://kasecim34.com/'); admin/config.php: <?php // HTTP define('HTTP_SERVER', 'ht...

Jump to post
  • Fri Feb 03, 2017 12:13 am
  • Replies 13
  • Views 13703
Re: How to do SSL "http to https" and "www to non-www" redir

You can do it in 3 lines. www to non-www and http to https: RewriteCond %{HTTPS} off [OR] RewriteCond %{HTTP_HOST} ^www\. [NC] RewriteRule ^(.*) https://yourdomain.com%{REQUEST_URI} [R=301,L,NE] thank you thats works for me but this time i give error undefined in admin panel and changing any order ...

Jump to post
  • Sun Jan 29, 2017 4:38 am
  • Replies 13
  • Views 13703

Page 1 of 1

Search found 2 matches