we have a project added a new folder, and make a new package to install at new server, but we find after finish install we just can see the path structure, but every path cannot render content. meanwhile if we copy the content to any new path that create by author server (http://localhost:4503/siteadmin#/content), every path can render at author server!
so we unzip the package find the .content.xml under the new path in the content install package is
create the cq:Page/folder/node structure in AEM and then import the respective nodes in your IDE(eclipse/IntelliJ/Visual Studio), then make changes if you may have to. Sometimes when we make changes in content.xml or try adding a structure/page/folder we miss something that doesn't fail the build, however the structure is wrong and that messes up when we do the local build+deploy in AEM.
@josieqqiu From your response under my previous reply and re-reading your question
in fact when we add a content node to that file, and install it , every path can render at author server . but we just confuse why no content node every page under xxx cannot render？
-Does this mean you are trying to put the content under a different node than /content ? Something like /xxxx insteand of /content ?
If that is the case it will not work. The AEM Sling Resolution happens from /content nodes. I mean to say , in simple words, your content should always be present under /content. You can have nodes under content , for e.g /content/xxx ; but not the other way around
I am still not sure if I got your question right. But that is okay. Do let me know if this is not what you are expecting .
@josieqqiu I am trying to understand your query more better . Could you please help answer the below questions ?
"we have a project added a new folder, and make a new package to install at new server" - How did you create the package ? Can you cross check if the paths are added properly . If you are creating package from author and if the pages are all working fine in author , then package created should not be having an issue until you are the filters properly.