Welcome to TalkGraphics.com
Results 1 to 10 of 30

Hybrid View

  1. #1
    Join Date
    Feb 2016
    Posts
    6

    Default Moving pages to subdirectories

    I want to consolidate parts of a website within sub-directories so that a user can access a group of pages by naming the sub-directory in the URL.

    For example. the landing page for tools would entered as

    www.domain-name.com/tools

    and the file would reside in a sub-directory

    site-directory/tools

    and the html file would be

    site-directory/tools/index.html

    I don't see how to enter this on the page tab of the web properties dialog as it does not allow for the slash (/) character. How do I accomplish this?

  2. #2
    Join Date
    Aug 2000
    Location
    Placitas, New Mexico, USA
    Posts
    41,518

    Default Re: Moving pages to subdirectories

    I think I just answered this for another member.

    Double click on the nav bar to open the Navigation Bar Properties menu.

    Delete the pages you do not want to appear on the nav bar. (This only deletes the buttons, not the actual pages)

    Click the + next to the page that you want to add sub pages to.

    The double click where it says to double click and select the page you want.

    Repeat this to add more pages.

    These pages will appear in a sub menu.

  3. #3
    Join Date
    Feb 2016
    Posts
    6

    Default Re: Moving pages to subdirectories

    I am not talking about the MENU structure. I am referring to the directory/file structure.

    I want a user to be able to enter

    www,domain-name.com/tools

    instead of www.domain.name.com/tools/index.html

    The main landing page for the site is, of course:

    www.domain-name.com/index.html

  4. #4
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,934

    Default Re: Moving pages to subdirectories

    Ron,

    Think of your file structure as several mini-sites. So you'd have your landing page in the root. Now create a new Xara generated site and publish it to a sub-folder 'tools'. Another site & publish it to a subfolder 'services' etc, etc.
    Egg

    Minis Forum UM780XTX AMD Ryzen7 7840HS with AMD Radeon 780M Graphics + 32 GB Ram + MSI Optix Mag321 Curv monitor
    + 1Tb SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host

  5. #5

    Default Re: Moving pages to subdirectories

    You still end up with the index.htm or html at the end though don't you? I broke down a site in the way you have said but I still have the index.htm at the end

  6. #6
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,934

    Default Re: Moving pages to subdirectories

    You can do, there's no problem with that. The OP in fact wanted it this way. However, on exporting/publishing a site you aren't forced to use use 'index.htm' you can name the site name anything you desire, but it's generally good practice to do so.

    You can have multiple sub-folders all containing an index.htm file. They are all different files, even though they have the same name
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	file-structure.png 
Views:	78 
Size:	4.0 KB 
ID:	112362  
    Egg

    Minis Forum UM780XTX AMD Ryzen7 7840HS with AMD Radeon 780M Graphics + 32 GB Ram + MSI Optix Mag321 Curv monitor
    + 1Tb SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •