Why are some page folders named like "files" and others named like "index_files"

0 votes
asked Feb 6, 2015 in RapidWeaver by q2aadmin (2,995 points)

When I publish my RapidWeaver site each page has a folder for storing the images, js, css, etc. for that page. Most pages have a folder named "files", but occasionally a folder will be named differently. My homepage has a folder named, "index_files". Why is this? And how can I change it?

1 Answer

0 votes
answered Feb 6, 2015 by isaiah (14,025 points)
selected Feb 6, 2015 by q2aadmin
Best answer

RapidWeaver's folder structure is to name place all the resources for a page into a folder called "files". However if two pages share the same folder (such as when you change the folder of a page to "/" in the General settings sidebar) then the name of the page will be prepended to files, so you get: "indexfiles" or "page2_files" etc.

You can avoid ever getting the prepended name by ensuring that all pages are exported to their own folder. That's the default, so simply by doing nothing you'll never see the prepended name. But if you do move pages to the same folder, they do this to avoid naming collisions, so it's pretty unavoidable.

This is just how RapidWeaver names the directories. All page styles work the same within RapidWeaver. Plugins, themes, and stacks have no influence over this naming convention.