Home > Backend Development > PHP Tutorial > 网站文件可以不放在网站根目录里面,通过修改重定向配置来访问吗?

网站文件可以不放在网站根目录里面,通过修改重定向配置来访问吗?

WBOY
Release: 2016-06-06 20:22:18
Original
1733 people have browsed it

由于网站根目录所在的盘快满了,新加的硬盘又不能合并到旧盘符里面去,所以如果可以该如何做呢?

回复内容:

由于网站根目录所在的盘快满了,新加的硬盘又不能合并到旧盘符里面去,所以如果可以该如何做呢?

多半是静态资源导致的吧
1、将静态资源移植至CDN服务器上面
2、没有的话,就压缩线上服务器的图片,合并JS文件

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template