We are developing a site which uses virtual directories. The site will have a staging and live environment. Is there anyway to get around having to put the virtual directory in to the PageType FileName property?
Eg.
/EPINewSite/templates/CommerceHomePage.aspx
/EPINewSiteStaging/templates/CommerceHomePage.aspx
can the EPINewSite be grabbed from a configuration file instead of having to be put in to the file name so we could instead have:
/templates/CommerceHomePage.aspx
Then we wouldnt need to worry about the site name when moving from Staging to Live?
Hi Parit!
No, there is currently no way to "hook in" such a "path builder"
for pagetype urls.
However, it will all be taken care of automatically if you use the
Export/Import function in Adminmode to transport the pagetypes
from the staging server to the live server.
Regards,
Johan Olofsson
EPiServer AB