Learn about Centmin Mod LEMP Stack today
Register Now

Wordpress centmin.sh menu option 22 - How to switch Wordpress to subdirectory

Discussion in 'Blogs & CMS usage' started by eva2000, Jan 9, 2016.

Thread Status:
Not open for further replies.
  1. eva2000

    eva2000 Administrator Staff Member

    54,857
    12,238
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,809
    Local Time:
    3:21 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Guide to using centmin.sh menu option 22 to setup Wordpress install on newdomain1.com but then manually moving the Wordpress install to newdomain1.com/blog and then use wp-cli which Centmin Mod uses to search and replace and change wordpress url settings as outlined at Changing The Site URL and change wordpress location match to /blog and try_files end point to /blog/index.php

    centmin.sh menu option 22



    Code:
    --------------------------------------------------------
    Centmin Mod 1.2.3-eva2000.09 - http://centminmod.com
    --------------------------------------------------------
                       Centmin Mod Menu                  
    --------------------------------------------------------
    1).  Centmin Install
    2).  Add Nginx vhost domain
    3).  NSD setup domain name DNS
    4).  Nginx Upgrade / Downgrade
    5).  PHP Upgrade / Downgrade
    6).  XCache Re-install
    7).  APC Cache Re-install
    8).  XCache Install
    9).  APC Cache Install
    10). Memcached Server Re-install
    11). MariaDB 5.2/5.5 & 10.x Upgrade Sub-Menu
    12). Zend OpCache Install/Re-install
    13). Install ioping.sh vbtechsupport.com/1239/
    14). SELinux disable
    15). Install/Reinstall ImagicK PHP Extension
    16). Change SSHD Port Number
    17). Multi-thread compression: pigz,pbzip2,lbzip2...
    18). Suhosin PHP Extension install
    19). Install FFMPEG and FFMPEG PHP Extension
    20). NSD Re-install
    21). Update - Nginx + PHP-FPM + Siege
    22). Add Wordpress Nginx vhost + WP Super Cache
    23). Update Centmin Mod Code Base
    24). Exit
    --------------------------------------------------------
    Enter option [ 1 - 24 ] 22
    --------------------------------------------------------
    Created newdomain1.com site via centmin.sh menu option 22
    Code:
    -------------------------------------------------------------
    vhost for newdomain1.com created successfully
    
    domain: http://newdomain1.com
    vhost conf file for newdomain1.com created: /usr/local/nginx/conf/conf.d/newdomain1.com.conf
    
    vhost ssl for newdomain1.com created successfully
    
    domain: https://newdomain1.com
    vhost ssl conf file for newdomain1.com created: /usr/local/nginx/conf/conf.d/newdomain1.com.ssl.conf
    /usr/local/nginx/conf/ssl_include.conf created
    Self-signed SSL Certificate: /usr/local/nginx/conf/ssl/newdomain1.com/newdomain1.com.crt
    SSL Private Key: /usr/local/nginx/conf/ssl/newdomain1.com/newdomain1.com.key
    SSL CSR File: /usr/local/nginx/conf/ssl/newdomain1.com/newdomain1.com.csr
    Backup SSL Private Key: /usr/local/nginx/conf/ssl/newdomain1.com/newdomain1.com-backup.key
    Backup SSL CSR File: /usr/local/nginx/conf/ssl/newdomain1.com/newdomain1.com-backup.csr
    
    upload files to /home/nginx/domains/newdomain1.com/public
    vhost log files directory is /home/nginx/domains/newdomain1.com/log
    Nginx vhost for /usr/local/nginx/conf/conf.d/newdomain1.com.conf
    Code:
    # 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 newdomain1.com;
    #            return 301 $scheme://www.newdomain1.com$request_uri;
    #       }
    
    server {
    
      server_name newdomain1.com www.newdomain1.com;
    
    # 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/newdomain1.com/log/access.log combined buffer=256k flush=60m;
      error_log /home/nginx/domains/newdomain1.com/log/error.log;
    
      root /home/nginx/domains/newdomain1.com/public;
    
      # prevent access to ./directories and files
      location ~ (?:^|/)\. {
       deny all;
      }
    
    include /usr/local/nginx/conf/wpcacheenabler_newdomain1.com.conf;
    #include /usr/local/nginx/conf/wpsupercache_newdomain1.com.conf;
    # https://community.centminmod.com/posts/18828/
    #include /usr/local/nginx/conf/rediscache_newdomain1.com.conf;
    
      location / {
    
      # 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/newdomain1.com/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;
    }
    
      include /usr/local/nginx/conf/wpsecure_newdomain1.com.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/staticfiles.conf;
      include /usr/local/nginx/conf/drop.conf;
      #include /usr/local/nginx/conf/errorpage.conf;
      include /usr/local/nginx/conf/vts_server.conf;
    }
    Wordpress and default files in web root /home/nginx/domains/newdomain1.com/public
    Code:
    ls -lah /home/nginx/domains/newdomain1.com/public
    total 208K
    drwxr-s---  5 nginx nginx 4.0K Jan  9 01:27 .
    drwxr-s---  6 nginx nginx 4.0K Jan  9 01:25 ..
    -rw-r-----  1 nginx nginx 1.6K Jan  9 01:25 403.html
    -rw-r-----  1 nginx nginx 1.6K Jan  9 01:25 404.html
    -rw-r-----  1 nginx nginx 2.1K Jan  9 01:25 500.html
    -rw-r-----  1 nginx nginx 2.1K Jan  9 01:25 502.html
    -rw-r-----  1 nginx nginx 2.2K Jan  9 01:25 503.html
    -rw-r-----  1 nginx nginx 2.1K Jan  9 01:25 504.html
    -rw-r-----  1 nginx nginx 2.2K Jan  9 01:25 50x.html
    -rw-r--r--  1 nginx nginx  418 Jan  9 01:26 index.php
    -rw-r--r--  1 nginx nginx  20K Jan  9 01:26 license.txt
    -rw-r-----  1 nginx nginx 2.2K Jan  9 01:25 maintenance.html
    -rw-r--r--  1 nginx nginx 5.0K Jan  9 01:26 wp-activate.php
    drwxr-sr-x  9 nginx nginx 4.0K Jan  9 01:26 wp-admin
    -rw-r--r--  1 nginx nginx  271 Jan  9 01:26 wp-blog-header.php
    -rw-r--r--  1 nginx nginx 1.4K Jan  9 01:26 wp-comments-post.php
    -rw-r--r--  1 nginx nginx 1.8K Jan  9 01:26 wp-config.php
    -rw-r--r--  1 nginx nginx 2.8K Jan  9 01:26 wp-config-sample.php
    drwxr-s---  7 nginx nginx 4.0K Jan  9 01:27 wp-content
    -rw-r--r--  1 nginx nginx 3.3K Jan  9 01:26 wp-cron.php
    drwxr-sr-x 16 nginx nginx 4.0K Jan  9 01:26 wp-includes
    -rw-r--r--  1 nginx nginx 2.4K Jan  9 01:26 wp-links-opml.php
    -rw-r--r--  1 nginx nginx 3.3K Jan  9 01:26 wp-load.php
    -rw-r--r--  1 nginx nginx  33K Jan  9 01:26 wp-login.php
    -rw-r--r--  1 nginx nginx 7.8K Jan  9 01:26 wp-mail.php
    -rw-r--r--  1 nginx nginx  13K Jan  9 01:26 wp-settings.php
    -rw-r--r--  1 nginx nginx  28K Jan  9 01:26 wp-signup.php
    -rw-r--r--  1 nginx nginx 4.0K Jan  9 01:26 wp-trackback.php
    -rw-r--r--  1 nginx nginx 3.0K Jan  9 01:26 xmlrpc.php
    so change into public web root directory at /home/nginx/domains/newdomain1.com/public and create directory at /home/nginx/domains/newdomain1.com/public/blog for newdomain1.com/blog wordpress instance and move wordpress files to /blog

    Code:
    cd /home/nginx/domains/newdomain1.com/public
    mkdir blog
    mv license.txt wp-activate.php wp-blog-header.php wp-config.php wp-content wp-includes wp-load.php wp-mail.php wp-signup.php xmlrpc.php index.php wp-admin wp-comments-post.php wp-config-sample.php wp-cron.php wp-links-opml.php wp-login.php wp-settings.php wp-trackback.php blog
    so contents of /home/nginx/domains/newdomain1.com/public/blog/ subdirectory
    Code:
    ls -lah /home/nginx/domains/newdomain1.com/public/blog/
    total 176K
    drwxr-sr-x  5 root  nginx 4.0K Jan  9 01:38 .
    drwxr-s---  3 nginx nginx 4.0K Jan  9 01:38 ..
    -rw-r--r--  1 nginx nginx  418 Jan  9 01:26 index.php
    -rw-r--r--  1 nginx nginx  20K Jan  9 01:26 license.txt
    -rw-r--r--  1 nginx nginx 5.0K Jan  9 01:26 wp-activate.php
    drwxr-sr-x  9 nginx nginx 4.0K Jan  9 01:26 wp-admin
    -rw-r--r--  1 nginx nginx  271 Jan  9 01:26 wp-blog-header.php
    -rw-r--r--  1 nginx nginx 1.4K Jan  9 01:26 wp-comments-post.php
    -rw-r--r--  1 nginx nginx 1.8K Jan  9 01:26 wp-config.php
    -rw-r--r--  1 nginx nginx 2.8K Jan  9 01:26 wp-config-sample.php
    drwxr-s---  7 nginx nginx 4.0K Jan  9 01:27 wp-content
    -rw-r--r--  1 nginx nginx 3.3K Jan  9 01:26 wp-cron.php
    drwxr-sr-x 16 nginx nginx 4.0K Jan  9 01:26 wp-includes
    -rw-r--r--  1 nginx nginx 2.4K Jan  9 01:26 wp-links-opml.php
    -rw-r--r--  1 nginx nginx 3.3K Jan  9 01:26 wp-load.php
    -rw-r--r--  1 nginx nginx  33K Jan  9 01:26 wp-login.php
    -rw-r--r--  1 nginx nginx 7.8K Jan  9 01:26 wp-mail.php
    -rw-r--r--  1 nginx nginx  13K Jan  9 01:26 wp-settings.php
    -rw-r--r--  1 nginx nginx  28K Jan  9 01:26 wp-signup.php
    -rw-r--r--  1 nginx nginx 4.0K Jan  9 01:26 wp-trackback.php
    -rw-r--r--  1 nginx nginx 3.0K Jan  9 01:26 xmlrpc.php

    Changing Wordpress Install Location



    Then use wp-cli command line too in change Wordpress install urls from newdomain1.com to newdomain1.com/blog.


    You run wp-cli command = wp from Wordpress install subdirectory at /home/nginx/domains/newdomain1.com/public/blog/

    Code:
    cd /home/nginx/domains/newdomain1.com/public/blog/
    wp search-replace 'http://newdomain1.com' 'http://newdomain1.com/blog' --skip-columns=guid --allow-root
    
    Or, if you only want to change the option, you can do:
    Code:
    cd /home/nginx/domains/newdomain1.com/public/blog/
    wp option update home 'http://newdomain1.com/blog' --allow-root
    wp option update siteurl 'http://newdomain1.com/blog' --allow-root
    
    Output for wp search-replace command
    Code:
    wp search-replace 'http://newdomain1.com' 'http://newdomain1.com/blog' --skip-columns=guid --allow-root
    +---------------------+-----------------------+--------------+------+
    | Table               | Column                | Replacements | Type |
    +---------------------+-----------------------+--------------+------+
    | 22474_commentmeta   | meta_key              | 0            | SQL  |
    | 22474_commentmeta   | meta_value            | 0            | SQL  |
    | 22474_comments      | comment_author        | 0            | SQL  |
    | 22474_comments      | comment_author_email  | 0            | SQL  |
    | 22474_comments      | comment_author_url    | 0            | SQL  |
    | 22474_comments      | comment_author_IP     | 0            | SQL  |
    | 22474_comments      | comment_content       | 0            | SQL  |
    | 22474_comments      | comment_approved      | 0            | SQL  |
    | 22474_comments      | comment_agent         | 0            | SQL  |
    | 22474_comments      | comment_type          | 0            | SQL  |
    | 22474_links         | link_url              | 0            | SQL  |
    | 22474_links         | link_name             | 0            | SQL  |
    | 22474_links         | link_image            | 0            | SQL  |
    | 22474_links         | link_target           | 0            | SQL  |
    | 22474_links         | link_description      | 0            | SQL  |
    | 22474_links         | link_visible          | 0            | SQL  |
    | 22474_links         | link_rel              | 0            | SQL  |
    | 22474_links         | link_notes            | 0            | SQL  |
    | 22474_links         | link_rss              | 0            | SQL  |
    | 22474_options       | option_name           | 0            | SQL  |
    | 22474_options       | option_value          | 3            | PHP  |
    | 22474_options       | autoload              | 0            | SQL  |
    | 22474_postmeta      | meta_key              | 0            | SQL  |
    | 22474_postmeta      | meta_value            | 0            | SQL  |
    | 22474_posts         | post_content          | 1            | SQL  |
    | 22474_posts         | post_title            | 0            | SQL  |
    | 22474_posts         | post_excerpt          | 0            | SQL  |
    | 22474_posts         | post_status           | 0            | SQL  |
    | 22474_posts         | comment_status        | 0            | SQL  |
    | 22474_posts         | ping_status           | 0            | SQL  |
    | 22474_posts         | post_password         | 0            | SQL  |
    | 22474_posts         | post_name             | 0            | SQL  |
    | 22474_posts         | to_ping               | 0            | SQL  |
    | 22474_posts         | pinged                | 0            | SQL  |
    | 22474_posts         | post_content_filtered | 0            | SQL  |
    | 22474_posts         | post_type             | 0            | SQL  |
    | 22474_posts         | post_mime_type        | 0            | SQL  |
    | 22474_term_taxonomy | taxonomy              | 0            | SQL  |
    | 22474_term_taxonomy | description           | 0            | SQL  |
    | 22474_termmeta      | meta_key              | 0            | SQL  |
    | 22474_termmeta      | meta_value            | 0            | SQL  |
    | 22474_terms         | name                  | 0            | SQL  |
    | 22474_terms         | slug                  | 0            | SQL  |
    | 22474_usermeta      | meta_key              | 0            | SQL  |
    | 22474_usermeta      | meta_value            | 0            | PHP  |
    | 22474_users         | user_login            | 0            | SQL  |
    | 22474_users         | user_nicename         | 0            | SQL  |
    | 22474_users         | user_email            | 0            | SQL  |
    | 22474_users         | user_url              | 0            | SQL  |
    | 22474_users         | user_activation_key   | 0            | SQL  |
    | 22474_users         | display_name          | 0            | SQL  |
    +---------------------+-----------------------+--------------+------+
    Success: Made 4 replacements.
    Once changed, the wp-login.php password protection shortcut url would need changing to account for /blog subdirectory at newdomain1.com/blog/wp-login.php

    from
    Code:
    wp-login.php protection Username: uNOqMmpnTyJGlTx221
    wp-login.php protection Password: pYwBzIbK9yYPPvGe4xvOy221
    http://uNOqMmpnTyJGlTx221:pYwBzIbK9yYPPvGe4xvOy221@newdomain1.com/wp-login.php
    to
    Code:
    wp-login.php protection Username: uNOqMmpnTyJGlTx221
    wp-login.php protection Password: pYwBzIbK9yYPPvGe4xvOy221
    http://uNOqMmpnTyJGlTx221:pYwBzIbK9yYPPvGe4xvOy221@newdomain1.com/blog/wp-login.php

    Changing Nginx Vhost



    Now to change Nginx vhost for /usr/local/nginx/conf/conf.d/newdomain1.com.conf and if applicable /usr/local/nginx/conf/conf.d/newdomain1.com.ssl.conf. I installed KeyCDN Cache Enabler so also need to edit /usr/local/nginx/conf/wpcacheenabler_newdomain1.com.conf to set the $custom_subdir variable
    Code:
    # custom sub directory e.g. /blog
        set $custom_subdir '/blog';
    If using default WP Super Cache then you need to change the try_files

    from
    Code:
    try_files /wp-content/cache/supercache/$http_host/$cache_uri/index.html $uri $uri/ /index.php?q=$uri&$args;
    to
    Code:
    try_files /wp-content/cache/supercache/$http_host/$cache_uri/index.html $uri $uri/ /blog/index.php?q=$uri&$args;
    Then for /usr/local/nginx/conf/conf.d/newdomain1.com.conf vhost it will end up like below notice /blog appending to areas and also move include file /usr/local/nginx/conf/wpsecure_newdomain1.com.conf; into /blog location context
    Code:
    # 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 newdomain1.com;
    #            return 301 $scheme://www.newdomain1.com$request_uri;
    #       }
    
    server {
    
      server_name newdomain1.com www.newdomain1.com;
    
    # 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/newdomain1.com/log/access.log combined buffer=256k flush=60m;
      error_log /home/nginx/domains/newdomain1.com/log/error.log;
    
      root /home/nginx/domains/newdomain1.com/public;
    
      # prevent access to ./directories and files
      location ~ (?:^|/)\. {
       deny all;
      }
    
    include /usr/local/nginx/conf/wpcacheenabler_newdomain1.com.conf;
    #include /usr/local/nginx/conf/wpsupercache_newdomain1.com.conf;
    # https://community.centminmod.com/posts/18828/
    #include /usr/local/nginx/conf/rediscache_newdomain1.com.conf;
    
      location /blog {
      include /usr/local/nginx/conf/wpsecure_newdomain1.com.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/ /blog/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/ /blog/index.php?q=$uri&$args;
    
      # Nginx level redis Wordpress
      # https://community.centminmod.com/posts/18828/
      #try_files $uri $uri/ /blog/index.php?$args;
    
      }
    
    location ~* /blog/(wp-login\.php) {
        limit_req zone=xwplogin burst=1 nodelay;
        #limit_conn xwpconlimit 30;
        auth_basic "Private";
        auth_basic_user_file /home/nginx/domains/newdomain1.com/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 ~* /blog/(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;
    }
    
      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/staticfiles.conf;
      include /usr/local/nginx/conf/drop.conf;
      #include /usr/local/nginx/conf/errorpage.conf;
      include /usr/local/nginx/conf/vts_server.conf;
    }
    Default newdomain1.com/blog Wordpress Blog logged in :)

    upload_2016-1-9_11-48-8.png

    upload_2016-1-9_12-1-14.png

    upload_2016-1-9_12-2-49.png
     
    Last edited: Jan 9, 2016
  2. eva2000

    eva2000 Administrator Staff Member

    54,857
    12,238
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,809
    Local Time:
    3:21 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    FYI, for Centmin Mod 123.09beta01 currently working on centmin.sh menu option 22 to add subdirectory Wordpress auto installation support. Testing privately right now committed to 123.09beta01 now :)

    Code (Text):
    Enter vhost domain name you want to add (without www. prefix): newdomain4.com
    
    Create a self-signed SSL certificate Nginx vhost? [y/n]: y
    
    Install Wordpress in subdirectory /blog ? [y/n]: y
    Enter subdirectory name i.e. /blog enter = blog ? : blog
    Do you want to install WP Cache Enabler Plugin instead of WP Super Cache ? [y/n]: y
    Enter email address for Wordpress Installation: EMAILADDY
    Create FTP username for vhost domain (enter username): user2
    Do you want to auto generate FTP password (recommended) [y/n]: y


    Code:
     ls -lah /home/nginx/domains/newdomain4.com/public
    total 44K
    drwxr-s--- 3 nginx nginx 4.0K Jan 10 00:39 .
    drwxr-s--- 6 nginx nginx 4.0K Jan 10 00:39 ..
    -rw-r----- 1 nginx nginx 1.6K Jan 10 00:39 403.html
    -rw-r----- 1 nginx nginx 1.6K Jan 10 00:39 404.html
    -rw-r----- 1 nginx nginx 2.1K Jan 10 00:39 500.html
    -rw-r----- 1 nginx nginx 2.1K Jan 10 00:39 502.html
    -rw-r----- 1 nginx nginx 2.2K Jan 10 00:39 503.html
    -rw-r----- 1 nginx nginx 2.1K Jan 10 00:39 504.html
    -rw-r----- 1 nginx nginx 2.2K Jan 10 00:39 50x.html
    drwxr-s--- 5 nginx nginx 4.0K Jan 10 00:41 blog
    -rw-r----- 1 nginx nginx 2.2K Jan 10 00:39 maintenance.html
    
    Code:
    ls -lah /home/nginx/domains/newdomain4.com/public/blog
    total 176K
    drwxr-s---  5 nginx nginx 4.0K Jan 10 00:41 .
    drwxr-s---  3 nginx nginx 4.0K Jan 10 00:39 ..
    -rw-r--r--  1 nginx nginx  418 Jan 10 00:40 index.php
    -rw-r--r--  1 nginx nginx  20K Jan 10 00:40 license.txt
    -rw-r--r--  1 nginx nginx 5.0K Jan 10 00:40 wp-activate.php
    drwxr-sr-x  9 nginx nginx 4.0K Jan 10 00:40 wp-admin
    -rw-r--r--  1 nginx nginx  271 Jan 10 00:40 wp-blog-header.php
    -rw-r--r--  1 nginx nginx 1.4K Jan 10 00:40 wp-comments-post.php
    -rw-r--r--  1 nginx nginx 1.8K Jan 10 00:40 wp-config.php
    -rw-r--r--  1 nginx nginx 2.8K Jan 10 00:40 wp-config-sample.php
    drwxr-s---  7 nginx nginx 4.0K Jan 10 00:41 wp-content
    -rw-r--r--  1 nginx nginx 3.3K Jan 10 00:40 wp-cron.php
    drwxr-sr-x 16 nginx nginx 4.0K Jan 10 00:40 wp-includes
    -rw-r--r--  1 nginx nginx 2.4K Jan 10 00:40 wp-links-opml.php
    -rw-r--r--  1 nginx nginx 3.3K Jan 10 00:40 wp-load.php
    -rw-r--r--  1 nginx nginx  33K Jan 10 00:40 wp-login.php
    -rw-r--r--  1 nginx nginx 7.8K Jan 10 00:40 wp-mail.php
    -rw-r--r--  1 nginx nginx  13K Jan 10 00:40 wp-settings.php
    -rw-r--r--  1 nginx nginx  28K Jan 10 00:40 wp-signup.php
    -rw-r--r--  1 nginx nginx 4.0K Jan 10 00:40 wp-trackback.php
    -rw-r--r--  1 nginx nginx 3.0K Jan 10 00:40 xmlrpc.php
    upload_2016-1-10_11-21-6.png

    upload_2016-1-10_11-20-40.png

    @RoldanLT @Sunka @Matt Williams will like :)
     
    Last edited: Jan 10, 2016
Thread Status:
Not open for further replies.