サポート » プラグイン » google-sitemap-generatorでサイトマップ作成ができない

  • 解決済 minmin215

    (@minmin215)


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

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

    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に変更してもう一度、プラグイン画面から
    やってみましたがダメでした。

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

3件の返信を表示中 - 1 - 3件目 (全3件中)
  • sitemap.xml.gz は作りましたか?
    「There was a problem writing your zipped sitemap file. 」とあるので、Zipファイルが書けてないように見えます。

    トピック投稿者 minmin215

    (@minmin215)

    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

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

    トピック投稿者 minmin215

    (@minmin215)

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

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

3件の返信を表示中 - 1 - 3件目 (全3件中)
  • トピック「google-sitemap-generatorでサイトマップ作成ができない」には新たに返信することはできません。