将WAMP和Wordpress移至另一个驱动器 [英] Moving WAMP and Wordpress to another drive

查看:84
本文介绍了将WAMP和Wordpress移至另一个驱动器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在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.confdefault-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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆