douwen5833 2017-03-12 07:13
浏览 98
已采纳

无法在Hostinger服务器上正确配置Wordpress

I am trying to upload my locally developed wordPress website to hostinger and I'm facing this particular issue.

https://i.stack.imgur.com/mLNTV.png

Here are the steps I followed to upload my WebSite

  1. Created a SQL database on the WebServer and then imported the exported database of the WebSite using phpmyadmin. This process was successful.

  2. I was using XAMPP to test my WebSite. So I went to xampp/htocs and made a zip file of the wordPress folder. And uploaded it using hostinger's 'Import Website' Feature.

  3. After importing the website it automatically extracted the .zip file to public_html folder.

  4. I modified the wp-config.php file inside my wordPress folder on the server, changing the database_name, username and password.

  5. Then I accessed the site from my domain, I got 'MyBlog' folder there and now when I click on it, I get this error message. Link attached above.

So where did I go wrong in this process? Am I missing some of the steps? Please Help! I just tried the same procedure on two different hosting services and got the same error.

  • 写回答

1条回答 默认 最新

  • doushi3819244 2017-03-12 13:28
    关注

    Download Search & replace Database Script Here, upload on your server and replace all localhost links with your website URLs. Let say localhost/newwebsite to example.com. It will replace all URLs by using Serialization technique...Once all database URls replaced, your website will become functional.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 关于下拉菜单选项关联的问题
  • ¥15 如何修改pca中的feature函数
  • ¥20 java-OJ-健康体检
  • ¥15 rs485的上拉下拉,不会对a-b<-200mv有影响吗,就是接受时,对判断逻辑0有影响吗
  • ¥15 使用phpstudy在云服务器上搭建个人网站
  • ¥15 应该如何判断含间隙的曲柄摇杆机构,轴与轴承是否发生了碰撞?
  • ¥15 vue3+express部署到nginx
  • ¥20 搭建pt1000三线制高精度测温电路
  • ¥15 使用Jdk8自带的算法,和Jdk11自带的加密结果会一样吗,不一样的话有什么解决方案,Jdk不能升级的情况
  • ¥15 画两个图 python或R