[Pro] Site Folders

Hello,

Excuse me if I take a few lines to explain myself.

I have a site that has been working quite well so far. Entering the domain name into a browser takes you to a splash page only (Goes nowhere). Behind this though, I have a number of Test areas for potential separate sites. (Provided you enter the right info after the slash) eg…

In Freeway, under the Site panel, it looks like this;

  • Site Folder
    • Main Splash Page
    • TestOne-home
    • TestOne-contents
    • TestOne-etc
    • TestTwo-home
    • TestTwo-contents
    • TestTwo-etc
    • TestThree-home
    • TestThree-contents
    • TestThree-etc

That’s all fine so far. Relatively normal.

I had a brain fart and thought that I could tidy things up a bit more. Get the same result as above, but group things more in the Freeway application by putting folders inside folders.

In Freeway, under the Site panel, it now looks like this;

  • Site Folder
    • Main Folder
      • Main Splash Page
    • TestOne Folder
      • TestOne-home
      • TestOne-contents
      • TestOne-etc
    • TestTwo Folder
      • TestTwo-home
      • TestTwo-contents
      • TestTwo-etc
    • TestThree Folder
      • TestThree-home
      • TestThree-contents
      • TestThree-etc

Published it, Saved it, Uploaded it. Seemed fine so far, but it doesn’t work.

  • Is there a reason why I shouldn’t use folders like this?
  • Maybe I’m allowed to, but I have I missed something to enable this?

When I check the Site Directory that Freeway creates when you say Publish, it appears that the index.html file is neatly plonked inside a Folder there. I suspect this is why the site refuses to respond. The file isn’t outside this Folder at the top of the directory structure.

  • Is the Freeway Application not smart enough to work this out?
  • Or have I not been smart enough with the App?
  • If I am not allowed to set things up like this, why am I allowed to make folders in the first place?

I can go back and alter things to the way they were beforehand, but I thought I was being very efficient going down this route as it enabled me to see very clearly what belonged to what. I liked that when the site was published, each Test folder had its own Resource folder etc. too.

Any information or advise here would be very helpful.
Thanks.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

You have answered your own question here - your main index.html page (default page) has to be at the root of your site directory in order to load as a default.

If there is no default page at www.yoursite.com/index.html then nothing will display.

So to sort it just move that page in your structure and delete the Main Folder you can leave the Test One, Test Two folders where they are but to direct people to them you will need to use the URl www.yoursite.com/testone/index.html because if there is no ‘default’ page in there nothing will load. If there is an index.html page in the folder you can just use www.yoursite.com/testone.

Different servers can use different default pages - the most common is index.html or index.htm but others include default.html and index.php

David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I use a similar folder structure frequently. The filename for the
“home” page in each test folder should be index.html (not intuitive,
but it’s the way browsers work) and linked to other same test pages in
the usual way for each folder. Then using the URL of your domain/
TestOne, etc, should find it. Give it a try.

Keeping a common resource folder means that if the same image is used
on many pages, only one copy is held on the server. You can select
common or separate resource folders in the Output tab of Document
Setup… in the File Menu.

Hope that helps.

Colin

On 26 Mar 2009, at 09:04, Blue wrote:

I had a brain fart and thought that I could tidy things up a bit
more. Get the same result as above, but group things more in the
Freeway application by putting folders inside folders.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thanks for the rapid reply guys.

You’ve crystalised what I had suspected. I have rearranged things in the Site Folder and all is as you have very well explained.

Thanks again.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I have a few hundred pdfs, each with it’s own page. I would like to separate these pages in the site panel from the pages I constantly work on and add content to.

So before I do something stupid and take down the site, I want to make sure I understand you guys.

I create a folder in the site panel and place all the pdf pages inside it. Then I copy the index.htm page for the site and place that in the folder also. This will result in no change for the urls of the pdf pages. The folder name will be invisible, not required in the url. And this will work for any other “grouping” folders I create.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I create a folder in the site panel and place all the pdf pages inside it. Then I copy the index.htm page for the site and place that in the folder also.

So you wont be able to access the index page unless you use

www.mysite.com/mynewfoldername

The folder name WILL be required in the URL to get to the index page

The links from the index.html page to the PDFs will be unaffected - unless you created them as external links when they will need to be changed.

Any link that you create within FW using the link picker will update automatically if you move pages and/or add folders.

David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

So I do not put the index.htm in the folder, glad I asked.

If I merely create the folder and name it say “library”, then would the pdf pages inside be viewable with the updated url?:

www.mysite.com/library/currentpdfpagename


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Yes, although if you make that kind of change, any links on the individual PDF pages might not work correctly. Freeway always writes “relative” links, which take into account the file’s position in the overall folder hierarchy, but do not explicitly link to a particular page. For example, if you were in the /widgets folder and wanted to get to the /customers folder in the same parent folder, Freeway would write …/customers/index.html as the link, rather than /customers/index.html. The difference is subtle, but powerful.

Walter

On Jan 11, 2013, at 4:54 PM, Earthcat wrote:

So I do not put the index.htm in the folder, glad I asked.

If I merely create the folder and name it say “library”, then would the pdf pages inside be viewable with the updated url?:

www.mysite.com/library/currentpdfpagename


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options