PageType - File Path

Vote:
 
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?
#17663
Mar 25, 2008 19:34
Vote:
 
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
#18500
Mar 25, 2008 19:43
* 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.