SaaS CMS has officially launched! Learn more now.

PageType - File Path

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?
Jun 15, 2007 15:59
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
Jun 20, 2007 10:59
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.