将WAMP和Wordpress移至另一个驱动器 [英] Moving WAMP and Wordpress to another drive
问题描述
我在C盘和Wordpress网站上也安装了WAMP.
I have WAMP installed in my C Drive and a Wordpress website too.
我现在需要将所有内容移至D盘.
I now need to move everything to the D Drive.
请问最简单的方法是什么?
What is the easiest way to do this please?
谢谢
推荐答案
如果所有设置都正确,那就是要告诉WAMP您的wordpress安装目录是什么.
if you have everything set up correctly, it's a matter of telling WAMP what directory is your wordpress installation.
您可以手动将其更改为httpd.conf
或default-server.conf
并编辑DocumentRoot
you can change it manually going to httpd.conf
or default-server.conf
and edit the DocumentRoot
在我的计算机上,文件位于
on my machine, the file is in
C:\ wamp \ bin \ apache \ Apache2.2.17 \ conf \ httpd.conf
C:\wamp\bin\apache\Apache2.2.17\conf\httpd.conf
将DocumentRoot "c:/wamp/www/"
更改为DocumentRoot "d:/wamp/www/"
(第178行)
change DocumentRoot "c:/wamp/www/"
to DocumentRoot "d:/wamp/www/"
(line 178)
这篇关于将WAMP和Wordpress移至另一个驱动器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!