Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

.htaccess redirect to https

RewriteEngine On RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://www.yourdomain.com/$1
Source by www.google.com #
 
PREVIOUS NEXT
Tagged: #redirect #https
ADD COMMENT
Topic
Name
5+8 =