フォーラム

[解決済み] google-sitemap-generatorでサイトマップ作成ができない (4 件の投稿)

  1. minmin215
    メンバー
    3 years前の投稿 #

    初めまして。お世話になります。

    【具体的な症状】
    プラグインを利用してのサイトマップ作成ができない

    WordPressはトップディレクトリに入れていて、
    http://○○○.net/wordpressではなく、http://○○○.net/にしています。

    Googleサイトマップを追加しようと思い、
    プラグイン・google-sitemap-generatorでサイトマップを作成しようとしました。

    http://wordpress.matometa.net/archives/20080316234649
    ↑こちらの記事を参考に、プラグインのインストールまでは成功しましたが、
    4. Click here をクリックしてbuild it the first time. 最初のサイトマップを生成した段階で
    失敗しました。

    以下のようなエラーメッセージが出ました。

    -------------------------------------------------------
    Status
    There was a problem writing your sitemap file. Make sure the file exists and is writable. Learn more
    There was a problem writing your zipped sitemap file. Make sure the file exists and is writable. Learn more
    The building process took about 0.02 seconds to complete and used 10.95 MB of memory.
    If you changed something on your server or blog, you should rebuild the sitemap manually.
    If you encounter any problems with the build process you can use the debug function to get more information.

    --------------------------------------------------------

    WordPressをトップディレクトリに入れているせいかと考え、
    http://pcsetting.sblo.jp/category/482885-1.html
    こちらの記事を参考に、
    sitemap.xmlを先に作成してトップディレクトリにアップロードして
    sitemap.xmlの属性を666に変更してもう一度、プラグイン画面から
    やってみましたがダメでした。

    どうすれば、サイトマップが正常に作成されるのか
    教えてください。よろしくお願いいたします。

  2. hide10
    メンバー
    3 years前の投稿 #

    sitemap.xml.gz は作りましたか?
    「There was a problem writing your zipped sitemap file. 」とあるので、Zipファイルが書けてないように見えます。

  3. minmin215
    メンバー
    3 years前の投稿 #

    http://pcsetting.sblo.jp/article/10040883.html
    この記事と同じようにやったのですが、

    重大なエラーを引き起こしたのでプラグインの有効化はできませんでした。

    Fatal error: Cannot redeclare class googlesitemapgeneratorloader in /home/sites/lolipop.jp/users/moo.jp-mikanchan/web/wp-content/plugins/sitemap/sitemap.php on line 33

    というエラーメッセージが出てしまいました。
    何がおかしいのでしょうか・・・?とても困っています。
    お力をお貸しください。

  4. minmin215
    メンバー
    3 years前の投稿 #

    解決しました。
    古いバージョンのgoogle-sitemap-generatorでやると
    プラグイン画面まで行け、サイトマップも作成できました。

    ありがとうございました。

返信

ログイン しなければ投稿できません。

About this Topic