doubingjiu3199 2016-09-21 19:08
浏览 58

迁移后的wordpress网站不起作用

I just tried to migrate my worpress site to my local host wamp server i did backup database as well as all the files required but still i cant see the whole website i could just see a logo and all themes are gone as well as all the css is not shown however when i go to dashboard i could see all things. I even tried to move it to an online server hosting same issue occurs

  • 写回答

2条回答 默认 最新

  • dongtou2016 2016-09-21 19:16
    关注

    Use PHPMyadmin or something to review the wp_options table. It likely still has references to your old server, like '/home/user/directory/' After making a backup copy of that table, find what the correct path is, and use the following MySQL query to correct your wp_options entries

    update wp_options set `option_value` = replace(`option_value`, 
    'OLD/WORDPRESS/DEV', 'NEW/WORDPRESS/SITE');
    
    评论

报告相同问题?

悬赏问题

  • ¥30 Unity接入微信SDK 无法开启摄像头
  • ¥20 有偿 写代码 要用特定的软件anaconda 里的jvpyter 用python3写
  • ¥20 cad图纸,chx-3六轴码垛机器人
  • ¥15 移动摄像头专网需要解vlan
  • ¥20 access多表提取相同字段数据并合并
  • ¥20 基于MSP430f5529的MPU6050驱动,求出欧拉角
  • ¥20 Java-Oj-桌布的计算
  • ¥15 powerbuilder中的datawindow数据整合到新的DataWindow
  • ¥20 有人知道这种图怎么画吗?
  • ¥15 pyqt6如何引用qrc文件加载里面的的资源