SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Any idea what the Url format should be for any site with a SitePages library?

<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="">
  <Module Name="MOWikiHomePage" List="119" Url="/SitePages">
    <File Path="MOWikiHomePage\Sample.txt" Url="Sample.txt" Type="GhostableInLibrary" IgnoreIfAlreadyExists="FALSE"/>

The URL '/SitePages' is invalid. It may refer to a nonexistent file or folder, or refer to a valid file or folder that is not in the current Web

share|improve this question
up vote 1 down vote accepted

Try removing the "/" because Module can figure out the right path for you depending on the scope of the FEATURE.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.