Welcome to Centmin Mod Community
Register Now

Wordpress Wordpress Homepage Hasn't Updated After Migration

Discussion in 'Blogs & CMS usage' started by UsmanGTA, Oct 19, 2017.

  1. UsmanGTA

    UsmanGTA New Member

    5
    1
    3
    Sep 14, 2017
    Ratings:
    +1
    Local Time:
    9:36 AM
    Please fill in any relevant information that applies to you:
    • CentOS Version: 6.8
    • Centmin Mod Version Installed: 123.09beta01
    • Nginx Version Installed: nginx/1.13.6
    • PHP Version Installed: 7.1.7
    • MariaDB MySQL Version Installed: i.e. 10.0.21 or 10.1.21
    • When was last time updated Centmin Mod code base ? : Fresh Install This Morning
    I recently migrated to CentMinMod on my Linode VPS which is also a new VPS. All of the links and images are fine. However, the homepage is still running on the default Twenty Seventeen theme despite clearing Redis Cache.

    When I am logged into WordPress the site is perfect even the homepage. Once I've logged out, the homepage is the default WordPress 20-17 theme.

    Any help you guys could offer me?
     
    Last edited: Oct 20, 2017
  2. eva2000

    eva2000 Administrator Staff Member

    32,214
    7,153
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,876
    Local Time:
    11:36 AM
    Nginx 1.13.x
    MariaDB 5.5
    Are you using redis nginx level caching only or wp super cache or keycdn cache enabler ?

    do you have any other wp plugins added like woocommerce etc ?

    tried restart nginx + php-fpm ?
    Code (Text):
    nprestart
    

    do you use redis for anything else caching or data storage wise ? if not, then you can totally purge redis cache FLUSHALL – Redis
    Code (Text):
    redis-cli flushall
    nprestart
    
     
  3. bruno

    bruno Member

    60
    3
    8
    Oct 14, 2016
    Ratings:
    +8
    Local Time:
    1:36 AM
    i also have this issue. have updated to latest version of nginx, done nprestart a few times, and redis-cli flushall also didn't work

    whichever page i make the homepage, doesn't work

    any ideas?

    thanks!
     
  4. eva2000

    eva2000 Administrator Staff Member

    32,214
    7,153
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,876
    Local Time:
    11:36 AM
    Nginx 1.13.x
    MariaDB 5.5
    Is nginx helper wp plugin configured properly for redis purge ?

    When you create a new nginx vhost domain via centmin.sh menu option 2 or menu option 22 or via /usr/bin/nv cli command line, you will create the Nginx vhost files and directories. You will get an outputted the path location where it will create the domain name's vhost conf file named newdomain.com.conf (and newdomain.com.ssl.conf if you selected yes to self signed SSL)
    • Nginx vhost conf path will be at /usr/local/nginx/conf/conf.d/newdomain.com.conf
    • Nginx HTTP/2 SSL vhost conf path will be at /usr/local/nginx/conf/conf.d/newdomain.com.ssl.conf
    • Nginx Self-Signed SSL Certificate Directory at /usr/local/nginx/conf/ssl/newdomain.com
    • Vhost public web root will be at /home/nginx/domains/newdomain.com/public
    • Vhost log directory will be at /home/nginx/domains/newdomain.com/log
    Please post the contents of /usr/local/nginx/conf/conf.d/newdomain.com.conf and if applicable /usr/local/nginx/conf/conf.d/newdomain.com.ssl.conf wrapped in CODE tags (outlined at How to use forum BBCODE code tags)

    what is output of these commands in ssh
    Code (Text):
    curl -I https://domain.com
    

    Code (Text):
    curl -I https://www.domain.com
    

    Code (Text):
    curl -I http://domain.com
    

    Code (Text):
    curl -I http://www.domain.com
    

    wrap output in CODE tags
     
  5. bruno

    bruno Member

    60
    3
    8
    Oct 14, 2016
    Ratings:
    +8
    Local Time:
    1:36 AM
    I'm unable to get to PC to run this right now, but the conf files are exactly the same as usual, except I uncommented the CloudFlare line (as I'm using CloudFlare)

    Could you possibly run the curl tests? Url is udosmsf.com

    Thanks. No worries if not!
     
  6. sfs00784

    sfs00784 Member

    32
    4
    8
    Nov 8, 2017
    Ratings:
    +13
    Local Time:
    9:36 AM
    Looks like this is a cache issue. What plugin did you install? If you use Cloudflare or something like this, purge all your cache? in your cloudflare admin page. Or simply turn it off first. Also, please clear your browser cache [ctrl+f5] / use browser's private mode.
     
    Last edited: Nov 26, 2017
  7. bruno

    bruno Member

    60
    3
    8
    Oct 14, 2016
    Ratings:
    +8
    Local Time:
    1:36 AM
    Somehow it still shows the page even after I uninstalled the twenty seventeen theme.. very weird!
     
  8. sfs00784

    sfs00784 Member

    32
    4
    8
    Nov 8, 2017
    Ratings:
    +13
    Local Time:
    9:36 AM
    100% cache issue.
    disable all plugin with cache function.
    use developer mode in cloudflare.
    ctrl+f5 to refresh your page (do it for multiple times).
     
  9. bruno

    bruno Member

    60
    3
    8
    Oct 14, 2016
    Ratings:
    +8
    Local Time:
    1:36 AM
    Yep turned out to be fixed by turning on dev mode in CloudFlare!
     
    • Informative Informative x 1
  10. eva2000

    eva2000 Administrator Staff Member

    32,214
    7,153
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,876
    Local Time:
    11:36 AM
    Nginx 1.13.x
    MariaDB 5.5
    ah you have any cloudflare page rules to cache everything in place ?
     
  11. sfs00784

    sfs00784 Member

    32
    4
    8
    Nov 8, 2017
    Ratings:
    +13
    Local Time:
    9:36 AM
    because he migrate, and cloudflare doesn't know...
    he just need to purge all the outdated cache in cloudflare admin panel, then he can reactivate cloudflare
    cloudflare have a timeframe for the cache (and he can set it in page rules too)
     
    • Like Like x 1
  12. bruno

    bruno Member

    60
    3
    8
    Oct 14, 2016
    Ratings:
    +8
    Local Time:
    1:36 AM
    weirdly this is happening again for me.. have tried flushing all caches, and have checked on other devices.

    URL is ahq.faste.st (used the SSL option built into centmin). Ran a search and replace query to change http:// to https://

    Any ideas?

    Code:
    curl -I https://ahq.faste.st
    HTTP/1.1 200 OKDate: Tue, 16 Jan 2018 18:42:52 GMTContent-Type: text/html; charset=utf-8Connection: keep-aliveSet-Cookie: __cfduid=dfe09e79fb895578984e9217fb14591c41516128172; expires=Wed, 16-Jan-19 18:42:52 GMT; path=/; domain=.faste.st; HttpOnlyLast-Modified: Tue, 16 Jan 2018 16:41:21 GMTVary: Accept-EncodingX-Powered-By: centminmodServer: cloudflareCF-RAY: 3de337989b583bcf-CDG
    
    Code:
    curl -I http://ahq.faste.st
    [18:42][root@fornitexcom conf.d]# curl -I http://ahq.faste.st
    HTTP/1.1 200 OK
    Date: Tue, 16 Jan 2018 18:44:26 GMT
    Content-Type: text/html; charset=utf-8
    Connection: keep-alive
    Set-Cookie: __cfduid=d951957b400f3cd3871776909bd42fbe91516128266; expires=Wed, 16-Jan-19 18:44:26 GMT; path=/; domain=.faste.st; HttpOnly
    Last-Modified: Tue, 16 Jan 2018 16:41:21 GMT
    Vary: Accept-Encoding
    X-Powered-By: centminmod
    Server: cloudflare
    CF-RAY: 3de339df21903bcf-CDG
    
     
    Last edited: Jan 17, 2018
  13. eva2000

    eva2000 Administrator Staff Member

    32,214
    7,153
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,876
    Local Time:
    11:36 AM
    Nginx 1.13.x
    MariaDB 5.5
    Have you checked with cloudflare that your cache settings are set correctly ? Maybe you set cloudflare caching too aggressively ?
     
  14. bruno

    bruno Member

    60
    3
    8
    Oct 14, 2016
    Ratings:
    +8
    Local Time:
    1:36 AM
    Yes, I've done everything from turning on dev mode to purging the whole cache for the entire domain.

    Curiously, this only seems to happen when using UpDraftPlus migration plugin.

    I've also tried resetting permalinks by saving them, as well as changing the homepage to another page.

    The homepage is the only page that doesn't work, and it does work when logged in.
     
  15. eva2000

    eva2000 Administrator Staff Member

    32,214
    7,153
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,876
    Local Time:
    11:36 AM
    Nginx 1.13.x
    MariaDB 5.5
    that is strange.. haven't used that plugin before though myself hmmm..
     
  16. RoldanLT

    RoldanLT Well-Known Member

    4,060
    983
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,366
    Local Time:
    9:36 AM
    1.11
    10.2
    Double "l"? :D.
     
  17. eva2000

    eva2000 Administrator Staff Member

    32,214
    7,153
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,876
    Local Time:
    11:36 AM
    Nginx 1.13.x
    MariaDB 5.5
    no typo.... now :happy: