在同一服务器上迁移Drupal站点; [英] Migrating Drupal Site on SAME server;

查看:142
本文介绍了在同一服务器上迁移Drupal站点;的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经完成了开发新的Drupal站点来替换旧的HTML静态站点。



我选择在主域上的Public HTML文件夹上安装Drupal站点;



www.my-site.co.uk/development-site



我现在想删除旧的HTML静态网站,并替换为这个网站。



这可能是一个愚蠢的问题,但是我只是删除所有的HTML文件旧站点(不包括 / development-site 文件),然后将该文件的所有内容移动到公共HTML文件夹中?



另外,数据库位于同一个服务器上,我猜想我不需要在settings.php文件中更改任何内容?



谢谢

解决方案

如果您正确地开发了您的网站,您可以将开发网站内容移动到服务器的另一个位置,而不会发生错误。 p>

你应该复制你的旧H TML网站在其他地方。然后移动您的Drupal。



settings.php 不需要更改,假设您的数据库是相同的文件夹(localhost配置);



您可以使用的唯一问题是链接到开发站点的站点中的一些静态网址的情况夹。如果您确定在Drupal中没有这样的链接。让我们移动你的网站。



问候。


I have finished developing my new Drupal site to replace an old HTML static site.

I chose to install the Drupal site on Public HTML folder on the main domain here;

www.my-site.co.uk/development-site

I would now like to remove the old HTML static site and replace with this site.

This might be a silly question, but do I just delete all the HTML files from the old site, excluding /development-site file, then move all the contents of this file into the public HTML folder?

Also, with the database being on the same server, I am guessing I would not need to change anything on the settings.php file?

Thanks

解决方案

If you have developed your site correctly, you can move the development-site content to another location of your server without errors.

You should copy your old HTML site in other place. And then move your Drupal.

The settings.php no needs changes, assuming that your database is in the same folder (localhost configuration);

The only problem you can have is the situation of some static url in your site linking to the development-site folder. If you are sure there are no links like that in your Drupal. Let's move your site.

Regards.

这篇关于在同一服务器上迁移Drupal站点;的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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