将 Joomla 站点复制到新服务器和新 URL!

发布于 2024-11-25 03:43:28 字数 209 浏览 4 评论 0原文

我运行一家公司的网站,他们希望将该网站复制到具有新 TDL 的新服务器。

因此 www.company.com 将被复制到 www.company.co.uk。

(一旦网站复制成功,就会对 .co.uk 网站进行更改)

那么这里的流程是什么呢?

我认为我应该使用 Akeeba,但是是否还有另一个步骤来确保 TDL 设置随服务器一起更改?

I run a company's site and they want the site to be copied to a new server with a new TDL.

So www.company.com will be copied to www.company.co.uk.

(Changes will be made to the .co.uk site once the site has been copied successfully)

So what is the process here?

I assume I should use Akeeba, but is there another step to make sure the TDL settings change along with the server?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

等你爱我 2024-12-02 03:43:28

更改域名吗? ,如果是这样,您可以重定向到 www.company.com -> www.company.co.uk。

手动方式

如果您将整个服务器登录迁移到当前的Cpanel并使用FTP下载所有站点文件并生成来自 phpmyadmin 的 mysql 脚本

将文件上传到新服务器并运行 sql 脚本
(最后确保使用新的服务器名称和身份验证详细信息更新 configration.php 文件)

Are you only changes the domain name ? , if so you can have a redirect to www.company.com -> www.company.co.uk.

Manual way

if you migrate the whole server login in to current Cpanel and download all the site files using FTP and generate the mysql scripts from the phpmyadmin

Upload the files to ur new server and run the sql script
(last make sure to update the configration.php file with new server names and autehtication details)

寄居者 2024-12-02 03:43:28

只需使用 Akeeba,无需更改任何内容。 Joomla 没有在代码计算的任何地方对 URL 进行编码。我们一直使用 Akeeba 将站点移动到不同的服务器,完成它的时间不会超过 10-15 分钟。

Just use Akeeba, you don't need to change anything. Joomla does not have the URL coded anywhere it is calculated by the code. We move sites to different servers all the time with Akeeba, it shouldn't take more than 10-15 minutes to get it done.

2024-12-02 03:43:28
  1. 将所有文件复制到新位置
  2. 更新configuration.php,如上所述(主要用于livesite URL和数据库用户信息)
  3. 检查.htaccess是否包含需要调整的规范化重定向,
  4. 进行数据库的SQL转储检查SQL
  5. 转储中的SQL转储如果有内部超链接需要调整(因为 Joomla 文章可能包含对站点 URL 的引用)
  6. 确保目标系统上存在数据库用户帐户
  7. 导入 SQL 转储

祝你好运

  1. copy all files to the new location
  2. update configuration.php as menioned above (mainly for livesite URL and database user info)
  3. check .htaccess if it contains canonicalisation redirects that need to be adjusted
  4. make an SQL dump of the database
  5. check within the SQL dump if there are internal hyperlinks that need to be adjusted (because Joomla articles may contain references to the site URL)
  6. ensure the database user account exists on the target system
  7. import the SQL dump

Good luck

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文