[wp-trac] [WordPress Trac] #30828: SSL without multisite - loop error

WordPress Trac noreply at wordpress.org
Wed Dec 24 13:53:37 UTC 2014


#30828: SSL without multisite - loop error
---------------------------+-------------------------
 Reporter:  nikitabasenko  |       Owner:
     Type:  defect (bug)   |      Status:  closed
 Priority:  normal         |   Milestone:
Component:  General        |     Version:  4.1
 Severity:  critical       |  Resolution:  worksforme
 Keywords:                 |     Focuses:
---------------------------+-------------------------
Changes (by nikitabasenko):

 * status:  reopened => closed
 * resolution:   => worksforme


Comment:

 Solution was simple:
 1. Change http to https in wp-admin options
 2. in file wp-includes/functions.php i've made a changes at lines 3670,
 3671, 3673 from HTTPS to HTTP_SSL
 And that's it.

 After i had to make a changes to my htaccess file at root (the hoster told
 me to do):
 RewriteEngine On
 RewriteBase /
 RewriteCond %{HTTP:SSL} !=1 [NC]
 RewriteRule ^(.*) https://www.сайт.com/$1 [L,R=301]

--
Ticket URL: <https://core.trac.wordpress.org/ticket/30828#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list