WordPressサイト全体をFTPで転送し、データベースをエクスポートして、WAMPを介してローカルホストで実行しましたが、何らかの理由でリンクとフォルダーがまだ.comを指しているため、404エラーも発生します。
.htaccessと関係があるのではないかと思いますが、よくわかりません。誰かが私を正しい方向に導くことができますか?
FTP 経由でサイトをローカル マシンに転送することは、サイトを新しいドメインに「移動」することと同じです。Wordpress は、@ を見つけることができるそのような動きのための具体的な指示を提供します
http://codex.wordpress.org/Moving_WordPress
When Your Domain Name or URLs Change
When your domain name or URLs change - i.e. from http://example.com/blog to http://example.com, or http://example.com to http://newexample.com - there are additional concerns. The files and database can be moved, however references to the old domain name or location will remain in the database, and that can cause issues with links or theme display.
If you do a search and replace on your entire database to change the URLs, you can cause issues with data serialization, due to the fact that some themes and widgets store values with the length of your URL marked. When this changes, things break. To avoid that serialization issue, you have two options:
Only perform a search and replace on the wp_posts table.
Use the Search and Replace for WordPress Databases Script to safely change all instances. ( If you are a developer, use this option. It is a one step process as opposed to the 15-step procedure below )
[全般] > [設定]で WordPress アドレス (URL) とサイト アドレス (URL) を更新しましたか?
それらはまだ古いドメインを指している可能性があります。