+ Reply to Thread
Results 1 to 2 of 2

Thread: sitemap.xml is unreachable with new mindtouch

  1. #1

    Default sitemap.xml is unreachable with new mindtouch

    Hi there,
    Did http://mywiki/sitemap.xml get broken recently? Instead of giving me that xml page that I can give to search engines, it makes another page with title "sitemap.xml". I bypassed the redirect through apache options, but sitemap.xml no longer exists. Is there a way to get it working?

    Thanks!
    AR

  2. #2

    Default

    For those experiencing the same problem...
    After a lot of searching I was actually able to find the sitemap here: /@api/deki/pages?format=sitemap
    So I redirected the /sitemap.xml to that URL by using a rewrite rule in apache2 config.

    Edit /etc/apache2/sites-available/dekiwiki (in ubuntu)
    Add the following rule somewhere after "RewriteRule ^/(.*)$ /index.php?title=$1 [L,QSA,NE]"
    Code:
    RewriteRule ^/sitemap.xml /\@api/deki/pages\?format\=sitemap [P]
    This will let the sitemap.xml be proxied to the actual sitemap URL in the api.

    Hope it helps someone someday.
    Pavel

+ Reply to Thread

Posting Permissions

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