こんにちはこんにちは、オンラインに移行したい localhost に動作中の Web サイトがあります。私は WP 3.2.1 を使用しており、ローカルホストから DB をエクスポートしました。その後、.sql ファイルをテキスト エディタで開き、「http://localhost/mysite」をすべて「http://mynewdomain.com」に置き換えました。その後、新しい宛先 DB の wp-config.php ファイルをオンラインで編集したので、すべてをオンラインでアップロードしました。index.phpページを正しく表示できます(スペイン語、中国語などの文字が壊れていることを除けば)、他のセクションはいくつかありますが、wp-adminセクションにアクセスしようとすると..別のサイトのセクションを参照しようとすると、次のエラー:
Warning: Cannot modify header information - headers already sent by (output started at /web/htdocs/www.***.it/home/wp-content/themes/ottaviano/shortcodes.php:55) in /web/htdocs/www.***.it/home/wp-includes/pluggable.php on line 934
私のhtaccess
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
解決済み:出力バッファリングを有効にする必要がありましたが、すべて問題ありません!