Discover Centmin Mod today
Register Now

Nginx SSL redirects

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

  1. eva2000

    eva2000 Administrator Staff Member

    41,689
    9,387
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,421
    Local Time:
    11:37 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    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:
    3:37 PM
    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
     
    • Like Like x 1
  3. eva2000

    eva2000 Administrator Staff Member

    41,689
    9,387
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,421
    Local Time:
    11:37 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    excellent Happy New Year