Welcome to TalkGraphics.com
Results 1 to 10 of 14

Thread: Index Files

Hybrid View

  1. #1
    Join Date
    Feb 2018
    Posts
    6

    Post Index Files

    Hi, been a while since I was last on here, but struggling to find information regarding what I need, so help with this would be appreciated.

    Obviously I know the basics, create a site, upload and publish to host. Simples.

    however, in the folder can I create subfolders, for example I will call them NEW and NEWER.

    Then, can I upload single files (pages) from a template without creating the index? For example NewPage.html and publish that to the NEW folder, reachable from the main site? I presume the search bar would read examplesite.com/NEW/NewPage.html (Please note this is not an actual site, it is purely for the question)


    and from that would search engines crawl and index that single page?

    In a previous web life I used to create the site, and then create mini sites in the subfolders, so I always had an index page for single pages.

    I intend the main site to link to these single pages, and the single pages to link back so all are accessible? I just want the main page to be as streamlined as possible?



    thanks.

  2. #2
    Join Date
    Dec 2018
    Location
    Australia
    Posts
    1,776

    Default Re: Index Files

    Yes. I have done what you are proposing with the slight exception of the naming of the files.

    In my case, I made 4 different, independent small sites that linked between each other. The 'main' site (page) was uploaded to public_html as per normal, the other sites were uploaded to public_html/name1, public_html/name2 etc. Each site had an index.html and a public_html_files folder. Although I didn't set any seo strategies (or even have a site description), the sub folder sites were indeed indexed by the search engine bots.

  3. #3
    Join Date
    Feb 2018
    Posts
    6

    Default Re: Index Files

    Hi chrism, thanks for the quick response.

    The way you describe it is, I think, the way I described the mini-sites, all within their own folders inside the main upload folder. just to clarify what you are suggesting, is to have an index file for all the single pages, but set no seo or named files within the index page (a blank index page?)

    sorry if I am being a bit dumb here, but I understand the thinking.

    thanks

  4. #4
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,830

    Default Re: Index Files

    If you have a main site then ensure its first page is always index.htm(l).
    Sub-sites need not have this luxury and can be published into a sub-folder (e.g., subfolder01).

    Linking from the main site would have a URL of "subfolder01/page01.htm(l)", assuming you know your structure, you do not need the full URL.
    Sub-site to sub-site links are a little trickier. To got to Page 5 on the third sub-site from another sub-site would require "../subfolder03/page05.htm(l)"; the ".." means go up a level (to main) and navigate from there.

    This is why I ignore subfolders and publish everything into one level, ensuring no page filename is duplicated. Far simpler as all links are then "page01.htm(l)", "page05.htm(l)", ...
    ... the ",htm(l)" part is essential as Link to only will display those pages in the current design.

    Acorn
    Acorn - installed Xara software: Cloud+/Pro+ and most others back through time (to CC's Artworks). Contact for technical remediation/consultancy for your web designs.
    When we provide assistance, your responses are valuable as they benefit the community. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy; Xara KB & Chat

  5. #5
    Join Date
    Feb 2018
    Posts
    6

    Default Re: Index Files

    Quote Originally Posted by Acorn View Post
    If you have a main site then ensure its first page is always index.htm(l).
    Sub-sites need not have this luxury and can be published into a sub-folder (e.g., subfolder01).

    Linking from the main site would have a URL of "subfolder01/page01.htm(l)", assuming you know your structure, you do not need the full URL.
    Sub-site to sub-site links are a little trickier. To got to Page 5 on the third sub-site from another sub-site would require "../subfolder03/page05.htm(l)"; the ".." means go up a level (to main) and navigate from there.

    This is why I ignore subfolders and publish everything into one level, ensuring no page filename is duplicated. Far simpler as all links are then "page01.htm(l)", "page05.htm(l)", ...
    ... the ",htm(l)" part is essential as Link to only will display those pages in the current design.

    Acorn
    Hi Acorn,

    I believe I have got my head round this,

    Ive got a ton of pages to upload, I just wanted the site to be minimal, so..

    Uploaded a test site (5 pages),

    I then created a few subfolders, then a single page so now the browser reads as examplesite.com/subfolder/pagename.html

    I guess I will find out about the second part (Google finding pages) as they are not the biggest thing. what I was doing was trying to find a quick way for me to upload files as I write them without continually loading up big files (even though I can just publish changes). I guess this fear comes from the ol'serif days when suddenly it would corrupt the site and bloat when finding changes.

    anyway I have it working, so now just to do it for real on the actual website1

    Thanks for replies, helpful here as always

  6. #6
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,830

    Default Re: Index Files

    If you have lots of pages, splitting into sub-site design files is the safest and most productive approach.

    @Xara - site hierarchy soon please.

    Acorn
    Acorn - installed Xara software: Cloud+/Pro+ and most others back through time (to CC's Artworks). Contact for technical remediation/consultancy for your web designs.
    When we provide assistance, your responses are valuable as they benefit the community. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy; Xara KB & Chat

 

 

Tags for this Thread

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
  •