Is the URL Rewrite for the profile home page hard coded?
I am trying to adjust the SiteUrls.config file and passing in an extra variable on the vanity but this is ignored:
<url name="user_ByUserName" path="{0}/default.aspx" pattern="##userName##/default.aspx" vanity="{2}?UserName=$1&test=hello" physicalPath="##themeDir##" page="userprofile.aspx" />
Also if you change the config to:
<url name="user_ByUserName" path="{0}/default.aspx" pattern="##userName##/default.aspx" vanity="{2}" physicalPath="##themeDir##" page="userprofile.aspx" />
This still adds the UserName=##userName## in, which is making me think that the UserName key is hardcoded somewhere.
This is causing me an issue as I cannot theme the profile area differently to the rest of the site as it uses the route group.
Thanks