简体   繁体   English

迁移到新主机后,为什么我的joomla网站返回403禁止错误?

[英]Why is my joomla site returning 403 Forbidden error after migration to new host?

I recently attempted to migrate a Joomla based site from one host (where it was the primary domain) to a new hosting account where it is one of several add-on domains. 最近,我尝试将基于Joomla的站点从一台主机(它是主域)迁移到一个新的托管帐户,在该帐户中,它是几个附加域之一。 Since I migrated the site files and database to the new host, I get a 403 forbidden error whenever I try to access it. 由于我将站点文件和数据库迁移到了新主机,因此每次尝试访问它时,我都会收到403禁止错误。

I've tried checking the file permissions and tinkering with htaccess, all to no avail. 我试图检查文件权限并修改htaccess,但无济于事。 I suspect it may have something to do with the change in the file path, but I'm not sure what information would need to be updated or where. 我怀疑这可能与文件路径的更改有关,但是我不确定需要更新哪些信息或在何处进行更新。

I'm very unfamiliar with Joomla, but have a basic understanding of the file structure as it is similar to Wordpress which I have used pretty extensively. 我对Joomla 不太熟悉,但是对文件结构有基本的了解,因为它类似于我已经广泛使用的Wordpress。

Here is a link to the "domain" (the actual domain hasn't been pointed to this host yet): 这是“域”的链接(实际的域尚未指向此主机):

107.180.54.175/~fatimamaster/fondationalfredbeliard.org/ 

If there's any pertinent information I have left out that would be helpful, please don't hesitate to let me know! 如果有任何我遗漏的相关信息会有所帮助,请随时与我们联系!

Any/all advice or suggestions are welcome and appreciated. 任何/所有建议或意见都受到欢迎和赞赏。 Thank you! 谢谢!

403 errors are usually permission related, I think the most likely causes are how you moved your Joomla site, or how the domain has been configured on the gaining server. 403错误通常与权限相关,我认为最可能的原因是您如何移动Joomla网站或在获取服务器上如何配置域。

My suggestion is that it will save time if you use Akeeba Backup to make an archive copy of your site and then use it to install your site on your new server. 我的建议是,如果您使用Akeeba Backup制作站点的存档副本,然后使用它在新服务器上安装站点,则可以节省时间。

(1) Install Akeeba Backup , make a backup of your site and download the .jpa archive. (1)安装Akeeba Backup ,备份您的站点并下载.jpa存档。

(2) You are probably familiar with the process of moving a domain from one server to another: setup your domain on the gaining server, update name servers with your domain registrar to point to the new server. (2)您可能熟悉将域从一台服务器移至另一台服务器的过程:在获取服务器上设置域,使用域注册商更新名称服务器以指向新服务器。 Expect it to take +/- 24 hrs for the change to propagate and traffic to be directed to your new server. 预计更改需要+/- 24小时才能传播,并将流量定向到您的新服务器。

(3) Delete any files and databases that you had previously installed on your new server. (3)删除以前在新服务器上安装的所有文件和数据库。 confirm that you can access an index.html file at your domain on the new server. 确认您可以在新服务器上的域中访问index.html文件。

(4) Use Akeeba Backup to restore your site on your new server, here's one link to walk you through the process (4)使用Akeeba Backup在新服务器上还原您的站点, 这里是一个链接,可指导您完成整个过程

My reasoning for starting the process over again is that steps 2 & 3 will identify any problems that might exist with the domain config on your new server, and step 4 will eliminate almost all Joomla specific problems. 我重新启动该过程的理由是,步骤2和3将确定新服务器上的域配置可能存在的任何问题,而步骤4将消除几乎所有Joomla特定的问题。

Good luck! 祝好运!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM