Support » Networking WordPress » Can I upload a file to the root of a subsite? For example a sitemap.xml file

  • Resolved edgr.sanchez

    (@edgrsanchez)


    My client purchased an SEO (search engine optimization) plan and step one involves creating a sitemap.xml file and uploading it to the root of the site so that it is accessible via:

    company.com/sitemap.xml

    Since his website is part of a multisite I’m not sure where to place this file. He tried uploading it via WordPress’ Media Upload feature but received an error message saying:

    “sitemap.xml” has failed to upload due to an error
    Sorry, this file type is not permitted for security reasons.

    I can override this to allow all files… but is there another way? An xml file is not a media file, I see no reason for it to reside in the Media Library.

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Can I upload a file to the root of a subsite? For example a sitemap.xml file’ is closed to new replies.