Want more timely Centmin Mod News Updates?
Become a Member

Nginx SSL redirects

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by churchill, Dec 29, 2016.

  1. eva2000

    eva2000 Administrator Staff Member

    55,425
    12,257
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,840
    Local Time:
    8:49 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    what's your wordpress set url with www or without


    Did you install wordpress via centmin.sh menu option 22 ? if you did you would have access to wp-cli command tool. Or can install it manually with addons/wpcli.sh

    with wp-cli tool, what's output for these commands changing /home/nginx/domains/domain.com/public/ to the path to where you installed wordpress i.e. if domain.com/blog then it would be /home/nginx/domains/domain.com/public/blog
    Code (Text):
    cd /home/nginx/domains/domain.com/public/
    wp option get siteurl --allow-root
    wp option get home --allow-root
    
     
  2. churchill

    churchill New Member

    23
    6
    3
    Sep 25, 2014
    Ratings:
    +6
    Local Time:
    12:49 AM
    haha YOU ARE A LIFE SAVER!!!
    I was so fixed at nginx i forgot the WP settings.

    i changed the WP settings it works now.

    Thank you for all your (fast) help.
    Now i can begin the new years party.

    Happy New Year
     
  3. eva2000

    eva2000 Administrator Staff Member

    55,425
    12,257
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,840
    Local Time:
    8:49 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    excellent Happy New Year