Results 1 to 18 of 18

Thread: contao sitemap.xml

  1. #1
    User
    Join Date
    05-21-18.
    Posts
    126

    Default contao sitemap.xml

    How i can generate sitemap.xml in contao?

  2. #2
    Community-Moderator xchs's Avatar
    Join Date
    06-20-09.
    Posts
    1,292

    Default

    Go to Layout > Site structure > Website root settings > XML sitemap and enable the option Create an XML sitemap
    Contao Community Moderator
    → Support options

  3. #3
    User
    Join Date
    05-21-18.
    Posts
    126

    Default

    Quote Originally Posted by xchs View Post
    Go to Layout > Site structure > Website root settings > XML sitemap and enable the option Create an XML sitemap

    Is this .xml file dinamically created/ updated?

  4. #4
    Community-Moderator xchs's Avatar
    Join Date
    06-20-09.
    Posts
    1,292

    Default

    Yes, of course.
    Contao Community Moderator
    → Support options

  5. #5
    User
    Join Date
    05-21-18.
    Posts
    126

    Default

    Quote Originally Posted by xchs View Post
    Yes, of course.
    and its saved in share folder?

  6. #6
    Community-Moderator xchs's Avatar
    Join Date
    06-20-09.
    Posts
    1,292

    Default

    Yes.
    Contao Community Moderator
    → Support options

  7. #7
    User
    Join Date
    05-21-18.
    Posts
    126

    Default

    Quote Originally Posted by xchs View Post
    Yes.
    i checked it but on server it wont generate. I need special permission or?

  8. #8
    Community-Moderator xchs's Avatar
    Join Date
    06-20-09.
    Posts
    1,292

    Default

    What did you do? You can recreate the XML sitemap by running the corresponding maintenance task or by changing something in your site structure.
    Contao Community Moderator
    → Support options

  9. #9
    User
    Join Date
    05-21-18.
    Posts
    126

    Default

    Quote Originally Posted by xchs View Post
    What did you do? You can recreate the XML sitemap by running the corresponding maintenance task or by changing something in your site structure.

    I created it in the end. Can i somehow change save directory to root folder from share?

  10. #10
    Community-Moderator xchs's Avatar
    Join Date
    06-20-09.
    Posts
    1,292

    Default

    Quote Originally Posted by rawelja View Post
    Can i somehow change save directory to root folder from share?
    No, I don't think so.

    But why would you want to do that? You can specify the link to the XML sitemap in the webmaster tools of the various search engines. And you can also enter the link to the XML sitemap in the robots.txt.
    Contao Community Moderator
    → Support options

  11. #11
    User
    Join Date
    05-21-18.
    Posts
    126

    Default

    Quote Originally Posted by xchs View Post
    No, I don't think so.

    But why would you want to do that? You can specify the link to the XML sitemap in the webmaster tools of the various search engines. And you can also enter the link to the XML sitemap in the robots.txt.
    Thanks i fixed it with robots.txt

  12. #12
    User
    Join Date
    05-21-18.
    Posts
    126

    Default

    Quote Originally Posted by xchs View Post
    No, I don't think so.

    But why would you want to do that? You can specify the link to the XML sitemap in the webmaster tools of the various search engines. And you can also enter the link to the XML sitemap in the robots.txt.
    Contao dont generate tags like changefreq or lastmod. Can i somehow generate it?

  13. #13
    Community-Moderator xchs's Avatar
    Join Date
    06-20-09.
    Posts
    1,292

    Default

    Maybe you can add this information with this extension: https://packagist.org/packages/smith...xtendedsitemap
    Contao Community Moderator
    → Support options

  14. #14
    User
    Join Date
    05-21-18.
    Posts
    126

    Default

    Quote Originally Posted by xchs View Post
    Maybe you can add this information with this extension: https://packagist.org/packages/smith...xtendedsitemap
    Its for version >=3.5,<4 :/

  15. #15
    Community-Moderator xchs's Avatar
    Join Date
    06-20-09.
    Posts
    1,292

    Default

    You're right, sorry. I didn't see that.
    Contao Community Moderator
    → Support options

  16. #16
    User Spooky's Avatar
    Join Date
    01-03-13.
    Posts
    339

    Default

    Quote Originally Posted by rawelja View Post
    Its for version >=3.5,<4 :/
    Try installing it manually into system/modules/sd_extendedSitemap, then delete var/cache manually and open the Contao Install Tool. If the module works, report back here.

  17. #17
    User
    Join Date
    05-21-18.
    Posts
    126

    Default

    Quote Originally Posted by Spooky View Post
    Try installing it manually into system/modules/sd_extendedSitemap, then delete var/cache manually and open the Contao Install Tool. If the module works, report back here.
    I tryed. Added module into system/modules, cleared cache and updated db with contao install. But when i enter name of .xml in edit of root page and press save there is problem with namespace. This module cant work with contao 4 and above. :D

  18. #18
    User Spooky's Avatar
    Join Date
    01-03-13.
    Posts
    339

    Default

    Post the exact error.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •