WP花园作为上海专业的WordPress开发公司,已经为很多客户开发了WordPress互联网项目,我们的高速云服务器上会有很多不同的客户站点项目,这时候作为项目管理者,如果想了解具体某个项目放在服务器的什么地方,应该如何找到呢?
【举个例子】
我们的某个金融客户www.abc.com的网站,是放在香港服务器上面,这时候你已经通过filezilla登录了FTP,你会不知所措,不知道应该去哪个目录。
【你应该】
*在filezilla上面的地址栏输入:
/usr/local/nginx/conf/vhost/
你会进入到一个目录下,这个目录中有很多 域名.conf 文件。
找到你需要的域名,打开文件你会看到。
server { listen 80; #listen [::]:80; server_name www.xxx.com xxx.com; index index.html index.htm index.php default.html default.htm default.php; 【你需要看这里】root /xxxx/xxxxx; include wordpress.conf; #error_page 404 /404.html; location ~ [^/]\.php(/|$) { # comment try_files $uri =404; to enable pathinfo try_files $uri =404; fastcgi_pass unix:/tmp/php-cgi.sock; fastcgi_index index.php; include fastcgi.conf; #include pathinfo.conf; } location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$ { expires 30d; } location ~ .*\.(js|css)?$ { expires 12h; } access_log /xxx/xxxx/www.xxxx.com.log access; }
请仔细看上面的【你需要看这里】对应的部分。