簡體   English   中英

將實時WordPress站點克隆到localhost(Xampp)后站點無法正常工作

[英]Site not working properly after cloning live WordPress site into localhost (Xampp)

我已將一個活的Wordpress網站克隆到本地環境(使用xampp服務器),網站的主頁面正在工作http://localhost/foldername ,但是當我嘗試去任何其他鏈接時,它會將我返回到http://localhost/dashboard url。

我已經改變了:

  • wp_config.php
  • 在數據庫中設置新域
  • 設置數據庫的新用戶名和密碼。

提前感謝您的好方向。

In your wp-config.php file add the following two line

define('WP_HOME','http://example.com');
define('WP_SITEURL','http://example.com');

In the place example.com put your path then run your url/wp-login

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM