Want to subscribe to topics you're interested in?
Become a Member

Wordpress down

Discussion in 'Blogs & CMS usage' started by dooma, Aug 18, 2018.

  1. dooma

    dooma Active Member

    303
    31
    28
    Oct 15, 2016
    Cairo
    Ratings:
    +44
    Local Time:
    5:20 AM
    Hi

    I installed my wordpress through option#22 using the beta ver. then I changed my hostname and added my domain to the cloudflare panel with its a records. finally, I updated the dns of my domain.

    The website is still down and gives me message cant find the server. What may be the issue ?

    I got this message from cloudflare support as they found an error so I changed my cloudflare setting (SSL) from flexible to FULL.

    Thanks
     
  2. dooma

    dooma Active Member

    303
    31
    28
    Oct 15, 2016
    Cairo
    Ratings:
    +44
    Local Time:
    5:20 AM
    It connected when I changed the ssl to flexible but why the images are not appeared ?
     

    Attached Files:

  3. eva2000

    eva2000 Administrator Staff Member

    40,633
    9,019
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +13,886
    Local Time:
    1:20 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    style="display:inline-block;min-width:400px;max-width:970px;width:95%;height:90px" data-ad-client="ca-pub-6669518204467592" data-ad-slot="4024536743" data-ad-format="auto">
  4. dooma

    dooma Active Member

    303
    31
    28
    Oct 15, 2016
    Cairo
    Ratings:
    +44
    Local Time:
    5:20 AM
  5. eva2000

    eva2000 Administrator Staff Member

    40,633
    9,019
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +13,886
    Local Time:
    1:20 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    did you change wordpress admin settings for default domain to https:// version as the url shows non-https for the call in console message

    see FAQ item 43 FAQ - CentminMod.com LEMP Nginx web stack for CentOS and Nginx - How to properly password protect a directory or file?

    where password file for wordpress centmin.sh menu option 22 is listed in your nginx vhost as referencing to /home/nginx/domains/yourdomain.com/htpasswd_wplogin
    Code (Text):
    auth_basic_user_file /home/nginx/domains/yourdomain.com/htpasswd_wplogin; 
    
     
  6. dooma

    dooma Active Member

    303
    31
    28
    Oct 15, 2016
    Cairo
    Ratings:
    +44
    Local Time:
    5:20 AM
    Hello

    I installed my wordpress and I said yes to self signed ssl and the other admin options plus installing CDN, and choosed /blog to make the blog path www.mydomain.com/blog

    I found that the wordpress is installed but the theme lost images then I entered the admin panel and changed the link of the site in general setting to mydomain.com/blog ( i added /blog ) then the theme at the website worked 100% with images but all links inside the admin panel went down and not working. what is that issue ?

    Thanks :)
     
  7. eva2000

    eva2000 Administrator Staff Member

    40,633
    9,019
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +13,886
    Local Time:
    1:20 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    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/blog/
    

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

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

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

    wrap output in CODE tags
     
  8. dooma

    dooma Active Member

    303
    31
    28
    Oct 15, 2016
    Cairo
    Ratings:
    +44
    Local Time:
    5:20 AM
    Code (Text):
    cat /usr/local/nginx/conf/conf.d/mysite.ws.conf
    # Centmin Mod Getting Started Guide
    # must read http://centminmod.com/getstarted.html
    
    # redirect from non-www to www
    # uncomment, save file and restart Nginx to enable
    # if unsure use return 302 before using return 301
    #server {
    #            listen   80;
    #            server_name mysite.ws;
    #            return 301 $scheme://www.mysite.ws$request_uri;
    #       }
    
    server {
     
      server_name mysite.ws www.mysite.ws;
    
    # ngx_pagespeed & ngx_pagespeed handler
    #include /usr/local/nginx/conf/pagespeed.conf;
    #include /usr/local/nginx/conf/pagespeedhandler.conf;
    #include /usr/local/nginx/conf/pagespeedstatslog.conf;
    
      #add_header X-Frame-Options SAMEORIGIN;
      add_header X-Xss-Protection "1; mode=block" always;
      add_header X-Content-Type-Options "nosniff" always;
      #add_header Referrer-Policy "strict-origin-when-cross-origin";
    
      # limit_conn limit_per_ip 16;
      # ssi  on;
    
      access_log /home/nginx/domains/mysite.ws/log/access.log combined buffer=256k flush=5m;
      error_log /home/nginx/domains/mysite.ws/log/error.log;
    
      include /usr/local/nginx/conf/autoprotect/mysite.ws/autoprotect-mysite.ws.conf;
      root /home/nginx/domains/mysite.ws/public;
      # uncomment cloudflare.conf include if using cloudflare for
      # server and/or vhost site
      #include /usr/local/nginx/conf/cloudflare.conf;
      include /usr/local/nginx/conf/503include-main.conf;
    
      include /usr/local/nginx/conf/wpincludes/mysite.ws/wpcacheenabler_mysite.ws.conf;
      #include /usr/local/nginx/conf/wpincludes/mysite.ws/wpsupercache_mysite.ws.conf;
      # https://community.centminmod.com/posts/18828/
      #include /usr/local/nginx/conf/wpincludes/mysite.ws/rediscache_mysite.ws.conf; 
    
      location / {
      include /usr/local/nginx/conf/503include-only.conf;
     
    
      # Enables directory listings when index file not found
      #autoindex  on;
    
      # for wordpress super cache plugin
      #try_files /wp-content/cache/supercache/$http_host/$cache_uri/index.html $uri $uri/ /index.php?q=$uri&$args;
    
      # for wp cache enabler plugin
      try_files $cache_enabler_uri $uri $uri/ $custom_subdir/index.php?$args;
    
      # Wordpress Permalinks
      #try_files $uri $uri/ /index.php?q=$uri&$args; 
    
      # Nginx level redis Wordpress
      # https://community.centminmod.com/posts/18828/
      #try_files $uri $uri/ /index.php?$args;
    
      }
    
    location ~* /(wp-login\.php) {
        limit_req zone=xwplogin burst=1 nodelay;
        #limit_conn xwpconlimit 30;
        auth_basic "Private";
        auth_basic_user_file /home/nginx/domains/mysite.ws/htpasswd_wplogin;   
        include /usr/local/nginx/conf/php-wpsc.conf;
        # https://community.centminmod.com/posts/18828/
        #include /usr/local/nginx/conf/php-rediscache.conf;
    }
    
    location ~* /(xmlrpc\.php) {
        limit_req zone=xwprpc burst=45 nodelay;
        #limit_conn xwpconlimit 30;
        include /usr/local/nginx/conf/php-wpsc.conf;
        # https://community.centminmod.com/posts/18828/
        #include /usr/local/nginx/conf/php-rediscache.conf;
    }
    
    location ~* /wp-admin/(load-scripts\.php) {
        limit_req zone=xwprpc burst=5 nodelay;
        #limit_conn xwpconlimit 30;
        include /usr/local/nginx/conf/php-wpsc.conf;
        # https://community.centminmod.com/posts/18828/
        #include /usr/local/nginx/conf/php-rediscache.conf;
    }
    
    location ~* /wp-admin/(load-styles\.php) {
        limit_req zone=xwprpc burst=5 nodelay;
        #limit_conn xwpconlimit 30;
        include /usr/local/nginx/conf/php-wpsc.conf;
        # https://community.centminmod.com/posts/18828/
        #include /usr/local/nginx/conf/php-rediscache.conf;
    }
    
      include /usr/local/nginx/conf/wpincludes/mysite.ws/wpsecure_mysite.ws.conf;
      include /usr/local/nginx/conf/php-wpsc.conf;
     
      # https://community.centminmod.com/posts/18828/
      #include /usr/local/nginx/conf/php-rediscache.conf;
      include /usr/local/nginx/conf/pre-staticfiles-local-mysite.ws.conf;
      include /usr/local/nginx/conf/pre-staticfiles-global.conf;
      include /usr/local/nginx/conf/staticfiles.conf;
      include /usr/local/nginx/conf/drop.conf;
      #include /usr/local/nginx/conf/errorpage.conf;
      include /usr/local/nginx/conf/vts_server.conf;
    }


    Code (Text):
    cat /usr/local/nginx/conf/conf.d/mysite.ws.ssl.conf
    # Centmin Mod Getting Started Guide
    # must read http://centminmod.com/getstarted.html
    # For HTTP/2 SSL Setup
    # read http://centminmod.com/nginx_configure_https_ssl_spdy.html
    
    # redirect from www to non-www  forced SSL
    # uncomment, save file and restart Nginx to enable
    # if unsure use return 302 before using return 301
    # server {
    #   server_name mysite.ws www.mysite.ws;
    #    return 302 https://$server_name$request_uri;
    # }
    
    server {
      listen 443 ssl http2 reuseport;
      server_name mysite.ws www.mysite.ws;
    
      ssl_dhparam /usr/local/nginx/conf/ssl/mysite.ws/dhparam.pem;
      ssl_certificate      /usr/local/nginx/conf/ssl/mysite.ws/mysite.ws.crt;
      ssl_certificate_key  /usr/local/nginx/conf/ssl/mysite.ws/mysite.ws.key;
      include /usr/local/nginx/conf/ssl_include.conf;
    
      # cloudflare authenticated origin pull cert community.centminmod.com/threads/13847/
      #ssl_client_certificate /usr/local/nginx/conf/ssl/cloudflare/mysite.ws/origin.crt;
      #ssl_verify_client on;
      http2_max_field_size 16k;
      http2_max_header_size 32k;
      # mozilla recommended
      ssl_ciphers ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA:ECDHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA256:DHE-RSA-AES256-SHA:ECDHE-ECDSA-DES-CBC3-SHA:ECDHE-RSA-DES-CBC3-SHA:EDH-RSA-DES-CBC3-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:DES-CBC3-SHA:!DSS;
      ssl_prefer_server_ciphers   on;
      #add_header Alternate-Protocol  443:npn-spdy/3;
    
      # before enabling HSTS line below read centminmod.com/nginx_domain_dns_setup.html#hsts
      #add_header Strict-Transport-Security "max-age=31536000; includeSubdomains;";
      #add_header X-Frame-Options SAMEORIGIN;
      add_header X-Xss-Protection "1; mode=block" always;
      add_header X-Content-Type-Options "nosniff" always;
      #add_header Referrer-Policy "strict-origin-when-cross-origin";
      #spdy_headers_comp 5;
      ssl_buffer_size 1369;
      ssl_session_tickets on;
     
      # enable ocsp stapling
      #resolver 8.8.8.8 8.8.4.4 valid=10m;
      #resolver_timeout 10s;
      #ssl_stapling on;
      #ssl_stapling_verify on;
      #ssl_trusted_certificate /usr/local/nginx/conf/ssl/mysite.ws/mysite.ws-trusted.crt; 
    
    # ngx_pagespeed & ngx_pagespeed handler
    #include /usr/local/nginx/conf/pagespeed.conf;
    #include /usr/local/nginx/conf/pagespeedhandler.conf;
    #include /usr/local/nginx/conf/pagespeedstatslog.conf;
    
      # limit_conn limit_per_ip 16;
      # ssi  on;
    
      access_log /home/nginx/domains/mysite.ws/log/access.log combined buffer=256k flush=5m;
      error_log /home/nginx/domains/mysite.ws/log/error.log;
    
      include /usr/local/nginx/conf/autoprotect/mysite.ws/autoprotect-mysite.ws.conf;
      root /home/nginx/domains/mysite.ws/public;
      # uncomment cloudflare.conf include if using cloudflare for
      # server and/or vhost site
      #include /usr/local/nginx/conf/cloudflare.conf;
      include /usr/local/nginx/conf/503include-main.conf;
    
      include /usr/local/nginx/conf/wpincludes/mysite.ws/wpcacheenabler_mysite.ws.conf;
      #include /usr/local/nginx/conf/wpincludes/mysite.ws/wpsupercache_mysite.ws.conf;
      # https://community.centminmod.com/posts/18828/
      #include /usr/local/nginx/conf/wpincludes/mysite.ws/rediscache_mysite.ws.conf; 
    
      location / {
      include /usr/local/nginx/conf/503include-only.conf;
     
    
      # Enables directory listings when index file not found
      #autoindex  on;
    
      # for wordpress super cache plugin
      #try_files /wp-content/cache/supercache/$http_host/$cache_uri/index.html $uri $uri/ /index.php?q=$uri&$args;
    
      # for wp cache enabler plugin
      try_files $cache_enabler_uri $uri $uri/ $custom_subdir/index.php?$args; 
    
      # Wordpress Permalinks
      #try_files $uri $uri/ /index.php?q=$uri&$args;
    
      # Nginx level redis Wordpress
      # https://community.centminmod.com/posts/18828/
      #try_files $uri $uri/ /index.php?$args;
    
      }
    
    location ~* /(wp-login\.php) {
        limit_req zone=xwplogin burst=1 nodelay;
        #limit_conn xwpconlimit 30;
        auth_basic "Private";
        auth_basic_user_file /home/nginx/domains/mysite.ws/htpasswd_wplogin;   
        include /usr/local/nginx/conf/php-wpsc.conf;
        
        # https://community.centminmod.com/posts/18828/
        #include /usr/local/nginx/conf/php-rediscache.conf;
    }
    
    location ~* /(xmlrpc\.php) {
        limit_req zone=xwprpc burst=45 nodelay;
        #limit_conn xwpconlimit 30;
        include /usr/local/nginx/conf/php-wpsc.conf;
        
        # https://community.centminmod.com/posts/18828/
        #include /usr/local/nginx/conf/php-rediscache.conf;
    }
    
    location ~* /wp-admin/(load-scripts\.php) {
        limit_req zone=xwprpc burst=5 nodelay;
        #limit_conn xwpconlimit 30;
        include /usr/local/nginx/conf/php-wpsc.conf;
        
        # https://community.centminmod.com/posts/18828/
        #include /usr/local/nginx/conf/php-rediscache.conf;
    }
    
    location ~* /wp-admin/(load-styles\.php) {
        limit_req zone=xwprpc burst=5 nodelay;
        #limit_conn xwpconlimit 30;
        include /usr/local/nginx/conf/php-wpsc.conf;
        
        # https://community.centminmod.com/posts/18828/
        #include /usr/local/nginx/conf/php-rediscache.conf;
    }
    
      include /usr/local/nginx/conf/wpincludes/mysite.ws/wpsecure_mysite.ws.conf;
      include /usr/local/nginx/conf/php-wpsc.conf;
     
      # https://community.centminmod.com/posts/18828/
      #include /usr/local/nginx/conf/php-rediscache.conf;
      include /usr/local/nginx/conf/pre-staticfiles-local-mysite.ws.conf;
      include /usr/local/nginx/conf/pre-staticfiles-global.conf;
      include /usr/local/nginx/conf/staticfiles.conf;
      include /usr/local/nginx/conf/drop.conf;
      #include /usr/local/nginx/conf/errorpage.conf;
      include /usr/local/nginx/conf/vts_server.conf;
    }


    Code (Text):
    curl -I https://mysite.ws/blog/
    HTTP/1.1 200 OK
    Date: Sun, 19 Aug 2018 02:52:41 GMT
    Content-Type: text/html; charset=UTF-8
    Connection: keep-alive
    Set-Cookie: __cfduid=d8fdd161cada76ecb4468e4e8387f181e1534647161; expires=Mon, 19-Aug-19 02:52:41 GMT; path=/; domain=.mysite.ws; HttpOnly
    Vary: Accept-Encoding
    Link: <https://mysite.ws/blog/wp-json/>; rel="https://api.w.org/"
    X-Powered-By: centminmod
    X-Xss-Protection: 1; mode=block
    X-Content-Type-Options: nosniff
    Expect-CT: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
    Server: cloudflare
    CF-RAY: 44c95358de0993ea-SJC


    Code (Text):
    curl -I https://www.mysite.ws/blog/
    HTTP/1.1 301 Moved Permanently
    Date: Sun, 19 Aug 2018 02:53:36 GMT
    Content-Type: text/html; charset=UTF-8
    Connection: keep-alive
    Set-Cookie: __cfduid=d82c769872e9e576c5408d7362cb2a0611534647216; expires=Mon, 19-Aug-19 02:53:36 GMT; path=/; domain=.mysite.ws; HttpOnly
    Location: https://mysite.ws/blog/
    X-Powered-By: centminmod
    X-Xss-Protection: 1; mode=block
    X-Content-Type-Options: nosniff
    Expect-CT: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
    Server: cloudflare
    CF-RAY: 44c954afc878934e-SJC


    Code (Text):
    curl -I http://mysite.ws/blog/
    HTTP/1.1 200 OK
    Date: Sun, 19 Aug 2018 02:54:26 GMT
    Content-Type: text/html; charset=UTF-8
    Connection: keep-alive
    Set-Cookie: __cfduid=d4e08e7d01a931e507b6c2233ff39c0f91534647266; expires=Mon, 19-Aug-19 02:54:26 GMT; path=/; domain=.mysite.ws; HttpOnly
    Vary: Accept-Encoding
    Link: <http://mysite.ws/blog/wp-json/>; rel="https://api.w.org/"
    X-Powered-By: centminmod
    X-Xss-Protection: 1; mode=block
    X-Content-Type-Options: nosniff
    Server: cloudflare
    CF-RAY: 44c955e5f37592d6-SJC
    


    Code (Text):
     curl -I http://www.mysite.ws/blog/
    HTTP/1.1 301 Moved Permanently
    Date: Sun, 19 Aug 2018 02:55:23 GMT
    Content-Type: text/html; charset=UTF-8
    Connection: keep-alive
    Set-Cookie: __cfduid=d22b018fce21460ac16ae688ec2fcd3311534647323; expires=Mon, 19-Aug-19 02:55:23 GMT; path=/; domain=.mysite.ws; HttpOnly
    Location: http://mysite.ws/blog/
    X-Powered-By: centminmod
    X-Xss-Protection: 1; mode=block
    X-Content-Type-Options: nosniff
    Server: cloudflare
    CF-RAY: 44c9574a932093d2-SJC


    Thanks :)
     
  9. eva2000

    eva2000 Administrator Staff Member

    40,633
    9,019
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +13,886
    Local Time:
    1:20 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    your non-https 301 redirects are incorrectly redirecting to non-https versions of your site

    Posted at centminmod.com/nginx_domain_dns_setup.html#httpsredirect is the correct way to set it up - pay attention to different way if you want redirect target being www version instead of non-www and vice versa and that the target version www or non-www is the only version listed in server_name for the 2nd/main server {} context.

    key to testing is using 302 temp redirect first in a private incognito browser session otherwise the problems you can experience may end up being due to browser caching or 301 permanent redirects unless you clear browser cache and reboot local computer(s) and even then some web browsers don't let go of 301 permanent redirect browser cache that willingly :)


    edit you're behind cloudflare so no need other than do outlined change here Wordpress - down

    but your vhosts don't seem to be setup for /blog based wordpress install but for web root / based wordpress installs

    you can double check your nginx vhost creation log which is automatically saved when you run centmin.sh menu options at /root/centminlogs

    you can use this command to list the logs in data ascending order so last log is latest and use grep to filter display for only addvhost named logs
    Code (Text):
    ls -lahrt /root/centminlogs/ | grep addvhost
    

    you can download and inspect the log related to your domain to make sure you did choose /blog for subdirectory

    no need to share full log maybe just parts related to the initial questions and your inputs
     
  10. eva2000

    eva2000 Administrator Staff Member

    40,633
    9,019
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +13,886
    Local Time:
    1:20 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    oh i see you're behind Cloudflare. Make sure to change from Cloudflare universal SSL to Cloudflare fullSSL

    and no need to correct those 301/302 redirects then
     
  11. dooma

    dooma Active Member

    303
    31
    28
    Oct 15, 2016
    Cairo
    Ratings:
    +44
    Local Time:
    5:20 AM
    Hi

    Code (Text):
    Wordpress Setup:
    Set custom WP Admin Display Name ? [y/n]: y
    Enter Custom WP Admin Display Name: user
    Install Wordpress in subdirectory /blog ? [y/n]: yes
    Disable Auto Generated WP Admin Username / Password ? [y/n]: n
    Disable wp-login.php password protection ? (less security) [y/n]: n
    Enter email address for Admin User for Wordpress Installation: [email protected]


    This is the part of the /blog in the log ( my answer was "yes" not only "y". May that cause the issue ?

    how can I solve that, what the edits should be done ?

    #I don't have SSL till now so I made my cloudflare option "Flexible" till I install it and I will change it to "full"

    Thanks
     
  12. eva2000

    eva2000 Administrator Staff Member

    40,633
    9,019
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +13,886
    Local Time:
    1:20 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    yup that's the problem answer suggestion is y or n not yes or no so it ignored the direction to install into /blog

    easiest way if you can is remove the nginx vhost and wordpress site and redo centmin.sh menu option 22

    Every centmin.sh menu option 22 run has an accompanying uninstall script at /root/tools/wp_uninstall_${vhostname}.sh where ${vhostname} = your domain name. You can run that to uninstall almost everything except mysql database which you have to manually remove yourself - extra precaution in case you accidentally run the worng uninstall script.
     
  13. eva2000

    eva2000 Administrator Staff Member

    40,633
    9,019
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +13,886
    Local Time:
    1:20 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
  14. dooma

    dooma Active Member

    303
    31
    28
    Oct 15, 2016
    Cairo
    Ratings:
    +44
    Local Time:
    5:20 AM
    Thank you :)
     
    • Like Like x 1
  15. dooma

    dooma Active Member

    303
    31
    28
    Oct 15, 2016
    Cairo
    Ratings:
    +44
    Local Time:
    5:20 AM
    note for beginners like me, subdirectory should be /the_name_of_dir_you_choose i.e: /blog.
    NOT ONLY ( blog ) without / .

    WRONG NOTE but still waiting @eva2000 comment.

    Thanks
     
    Last edited: Aug 21, 2018
    • Like Like x 1
  16. dooma

    dooma Active Member

    303
    31
    28
    Oct 15, 2016
    Cairo
    Ratings:
    +44
    Local Time:
    5:20 AM
  17. eva2000

    eva2000 Administrator Staff Member

    40,633
    9,019
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +13,886
    Local Time:
    1:20 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    centmin.sh menu option 22 has relevant questions where 2nd question only shows if you answer yes to 1st question

    1st question
    Code (Text):
    Install Wordpress in subdirectory /blog ? [y/n]: 
    

    if for 1st question you answer = y

    then 2nd question show
    Code (Text):
    Enter subdirectory name i.e. /blog enter = blog ? : 
    
     
  18. dooma

    dooma Active Member

    303
    31
    28
    Oct 15, 2016
    Cairo
    Ratings:
    +44
    Local Time:
    5:20 AM
    Code (Text):
    Install Wordpress in subdirectory /blog ? [y/n]: y

    Code (Text):
    Enter subdirectory name i.e. /blog enter = blog ? : blog


    I installed it and deleted the previous setup. All images are not shown but links are good. this chrome notification attached and cloudflare ssl is FULL ( I didnt install my ssl yes ).

    i attached the error @eva2000 :
     

    Attached Files:

  19. eva2000

    eva2000 Administrator Staff Member

    40,633
    9,019
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +13,886
    Local Time:
    1:20 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
  20. dooma

    dooma Active Member

    303
    31
    28
    Oct 15, 2016
    Cairo
    Ratings:
    +44
    Local Time:
    5:20 AM
    • Informative Informative x 1