简体   繁体   English

从本地服务器部署Wordpress网站到实时服务器时出现404错误页面

[英]404 error page when deploy wordpress site from local server to live server

I have a Question about deploy website from a Local serve to a live server. 我有一个关于将网站从本地服务部署到实时服务器的问题。 I started (and finished) to build a WordPress site locally on my computer, with a theme framework. 我开始(并完成)在我的计算机上以主题框架在本地构建WordPress网站。 simple. 简单。 I moved all the files from the Local server to the live server cpannel, (Databace files, website files and replacing URLs). 我将所有文件从本地服务器移至实时服务器面板(Databace文件,网站文件和替换URL)。 The home page opens as usual but When I tried to open each sub-page on the site - 404 error page had occured. 主页照常打开,但是当我尝试打开站点上的每个子页面时-出现404错误页面。 I do not have the original files on my local computer because fortunately my computer crashed. 我的本地计算机上没有原始文件,因为幸运的是我的计算机崩溃了。 Yeay. 是的 Does anyone knows what to do given the particular situation? 有谁知道在特定情况下该怎么办? Thank you very much! 非常感谢你!

This could be because of a few reasons. 这可能是由于一些原因。 To avoid this from happening, migrate the site to the live server with a plugin like " duplicator " for example. 为了避免这种情况的发生,请使用例如“ duplicator ”之类的插件将站点迁移到实时服务器。

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

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