• i am have wordpress around 15-20 sites.
    is good & best cms.
    but.
    1 have 1 question.
    why i can’t install wordpress on https.
    LIKE https://mydomain/wp-admin/setup-config.php.
    HTTPS alway redirect to http
    and then this look find if normal install http.

    Option on wordpress on working
    Redirect Loop ALWAYS.
    clear cookies and wait 3 days

    is not working

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Do you have a link for us to look at? I’ve installed WordPress on both http and https and while it works there may be some additional steps needed.

    Also give this handbook a look.

    https://make.wordpress.org/support/user-manual/web-publishing/https-for-wordpress/

    Thread Starter xxx123xxx

    (@xxx123xxx)

    thannk you jan but Redirect Loop
    http://i.imgur.com/T5CXpTM.png
    clear cookies
    wait 3 days
    not working anymaore
    no login page
    wp-admin/setup-config.php page

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Do you have a link for us to look at?

    It really often helps. 😉

    Thread Starter xxx123xxx

    (@xxx123xxx)

    working

    /* That’s all, stop editing! Happy blogging. */
    if ($_SERVER[‘HTTP_X_FORWARDED_PROTO’] == ‘https’)
    $_SERVER[‘HTTPS’]=’on’;

    define(‘WP_HOME’,’https://yousite.com’);
    define(‘WP_SITEURL’,’https://yousite.com’);

    on wp-config.php

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Try taking those lines out including these lines.

    /* That's all, stop editing! Happy blogging. */
    if ($_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https')
    $_SERVER['HTTPS']='on';
    
    define('WP_HOME','https://yousite.com');
    define('WP_SITEURL','https://yousite.com');

    Without those lines and doing nothing else try instead to add these line.

    define('FORCE_SSL_ADMIN', true);

    Now visit your site via http://your-URL/wp-admin/ and you should be redirected to the SSL version of that page. Does that work when you do that?

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘why i can' install on https’ is closed to new replies.