I want to split some of my projects into multiple projects for organizing purposes. For example, I have a main project file and one or more project files with content like promotions or other landing pages.
I want to publish this pages into the main site directory, so they share the same domain, no subdomains or redirect tweaks.
The idea was so setup a RW project, place the landing and promotions pages in there (with their own subfolders), publish them to the server, job done.
However: the Home Page needs to be set and can’t be disabled. So at the end, I overwrite the homepage of the main web presence.
Also changing the folder name of the home page doesn’t work in this case: it’s always published into the root directory.
Pretty sure, I miss something fundamental easy and my brain just doesn’t work properly so close to the end of the year.
Any ideas to archive how to “merge” multiple projects into one site with purely RW?
While posting and thinking, I found a possible solution that seems to work.
While I can’t remove the home page or set the folder name, I can rename the index file of the “sub project” (basic styled text without anything) of the home page to something random. So the original home page is not overwritten
Not 100% how this affects the ressources folder of the main site, but as RW never deletes anything, this should work.
Hmm… And how does Stack merge the files… Not sure if this is a viable solution…
Name the homepage something like dummy.html in the 2nd project file. As for sitemap, you will need to use a tool like my sitemap stacks in SEO Helper. RapidWeaver will always generate the sitemap.xml from both project files and overwrite the other projects.
Not sure what your goal is or why but I’ll just throw this in…
I maintain a site of over 2200 html/php pages (pages reported indexed last time I ran Zoom Indexer). It’s broken down into several project files. Some thought has to go into the setup. I was forced to do this because of the size of site. If you don’t have to do it I don’t recommend it unless you want to use RW in an unconventional way. All links must be true urls, you cannot Consolidate CSS files, you must be careful if you make changes to Themes and theme styles or your pages wont be the same, Etc. My advice would be… If you don’t have to do it, don’t. Use RW the way it’s intended.
Thanks, Joe.
Lucky me, for the “external” maintained pages, I don’t need a sitemap and links use a different tracking code (as per project / landing)
@1611mac I don’t believe I would use RW for this sort of large projects. With my current use case, the themes are not an issue (all Foundry based) but you’re totally right: this can end up in a mess.