I'm trying to target the directory location specifically after publishing a page.
If I have a page with a .xml extension and in my cd_storage_conf.xml. I've added this:
<Storage Type="filesystem" Class="com.tridion.storage.filesystem.FSDAOFactory" Id="defaultFile" defaultFilesystem="false">
<Root Path="c:\inetpub\wwwroot\test.com" />
</Storage>
<ItemTypes defaultStorageId="defaultdb" cached="false">
<Item typeMapping="Page" itemExtension=".xml" cached="false" storageId="defaultFile" />
</ItemTypes>
I'm expecting that the file would then be deployed to the root of the site but instead what I'm getting is:
- c:\inetpub\wwwroot\test.com\us\en\page.xml
To me, there seems to be two issues here:
- The /us/en/ is a publication within Tridion. We have one for several other countries like /uk/en/ etc. This is causing a set of new directory to be created. Why?
- Why is the page.xml not added within the root of test.com?
Has anyone encountered these before?