1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Problems with having duplicate homepage

Discussion in 'Sitebuilder 4.2 for Linux' started by Tequila, Dec 17, 2008.

  1. Tequila

    Tequila Guest

    0
     
    Hi everybody,

    After site publication, we have two identical homepages (home.html & index.html).

    Our first menu item is HOME (home.html) and the rest of site pages link to this page. However, Sitebuilder generates default page automatically (index.html). So, we end up having duplicate homepage.

    We would like HOME page to be named index.html, so that every other page could be linked to index.html instead of home.html. This way we would have only one single homepage (index.html), which is a valid default homepage within our shared hosting server. The problem is that Sitebuilder doesn't allow us to enter that name for a page.

    We don't have access to Sitebuilder configuration, as we pay for a shared hosting service.

    Any advice?

    Jorge
     
  2. Dmitry Frantsev

    Dmitry Frantsev Golden Pleskian

    28
    57%
    Joined:
    Sep 19, 2005
    Messages:
    1,911
    Likes Received:
    0
    Actually, you it is not possible to have different pages with the same name, so in this case you can, for example, use Script module (if it is included into your plan) and add some redirection script for the page so it forwards to index.html. Something like this. Try it.
     
  3. Tequila

    Tequila Guest

    0
     
    Dmitry,

    Thank you for your prompt response.

    Let´s suppose we design a site with the following structure:

    Home (page1.tml)
    About Me (page2.html)
    My Family (page3.html)
    Photos (page4.html)
    Resume (page5.html)
    Favorite Links (page6.html)
    Contact Me (page7.html)

    Will Sitebuilder always generate an index.html in addition to these seven pages?
    Which page does Sitebuilder select for index.html generation?
    Can you, as an end user, customize publication?

    Thanks in advance for your help,
    Jorge
     
  4. Dmitry Frantsev

    Dmitry Frantsev Golden Pleskian

    28
    57%
    Joined:
    Sep 19, 2005
    Messages:
    1,911
    Likes Received:
    0
    Yes, index page is always generated and always the same as first page on the site. Even if you change pages index file will be regenerated. index page is created so site could be always displayed with index page.
     
  5. Tequila

    Tequila Guest

    0
     
    Dmitry, thank you for clarifying this issue.
     
Loading...