Fork me on GitHub

Site in construction... Index?  Bottom

  • I have a question that I believe best fits here... It’s PN related but not rely a support ishue.

    I volunteered to do a new site for a local organization and am not planing on having it finished for a while. It is on a new server with new URL and is WORKING. What I am looking to do is have a way to display a static HTML page (no PostNuke content) as the index. Is there an EASY way to do this with out having to redo the directory structure, and put PN in it’s own directory? (Don’t want to move it again when ready to go live)

    What do you guys do in this situation?

    Thanks,

    Mark
  • Most servers I've worked with are set up to use index.html first, then index.php if .html is not there. Check to see if that's how your's is setup, then put the static in the index.html.

    --
    cyber_wolf
    www.bkbsolutions.com - My Zikula module development site.
  • You can also install postnuke in a directory of the root of the site then move over the files when ready - all urls called in postnuke are relative so it will work when you move the files.

    -Lobos

    --
    -Lobos
    Professional PHP Framework Services: Concept, Development and Deployment
  • You can do as Lobos suggests and keep a copy of your website in a subdirectory for ongoing development. It'll use the same database so take care not to do anything too experimental but for minor tweaks it's nice to have an offsite that's onsite...if you catch my drift.

    Slugger
  • Slugger

    You can do as Lobos suggests and keep a copy of your website in a subdirectory for ongoing development. It'll use the same database so take care not to do anything too experimental but for minor tweaks it's nice to have an offsite that's onsite...if you catch my drift.

    Slugger


    Just be careful with module stuff, like installing new modules ie if you install a module on one instance of postnuke and access your modules on the other instance the module will be turned off...

    --
    -Lobos
    Professional PHP Framework Services: Concept, Development and Deployment
  • Quote

    Most servers I've worked with are set up to use index.html first, then index.php if .html is not there. Check to see if that's how your's is setup, then put the static in the index.html.


    I already gave this a go, but it aperies that my server gives the priority tp PHP, I am waiting for an answer from the hosting company to see if this can be changed.

    As far as putting it in the sub directory; I just moved it out of one :?
    It is a new site and I have not mentioned the address to anyone yet, so I will probably just take keep it as is, so I know it is working correctly when it’s time to go live! (When I tell them it exists!)


    Ok here is a idea...
    I am thinking that this might cause a problem so I am running it by all of you first. Can I change the name of the "index.php" to something like "index2.php" ?
    Does Nuke care what this file is named or just my server?
  • [quote="new_to_this"]

    Quote


    Ok here is a idea...
    I am thinking that this might cause a problem so I am running it by all of you first. Can I change the name of the "index.php" to something like "index2.php" ?
    Does Nuke care what this file is named or just my server?


    LOL yes it does care, look up at the URL in your browser and you will see index.php?name=...

    There is nothing you can really do but use either the HTML or copy it to another dir.

    -Lobos

    --
    -Lobos
    Professional PHP Framework Services: Concept, Development and Deployment
  • Quote

    I already gave this a go, but it aperies that my server gives the priority tp PHP, I am waiting for an answer from the hosting company to see if this can be changed.


    When my host http://www.coastlandtech.com upgraded PHP recently my experimental site which had index.html and index.php suddenly changed and now displays the postnuke site. I'm gathering that's now the preferred priority.
  • Assuming you're on an Apache server, you can over-ride the default setup in an .htaccess file. I belive it's the DirectoryIndex directive.

    --
    Home Page | Find on Facebook | Follow on Twitter
  • Thanks Lobos,
    I kinda thought it would but figured asking couldn’t hurt.

    Ok I have spoken with my hosting company (dam good service!) and changing the priority from PHP to HTML is a pain. (they say, and it is an Apache server)

    They also recommended that I just put it in a new directory, and when I wanted to go live e-mail them and ask them to go public with the directory. They will then command line the directory to merge withe the public_html an off it goes! (I usually here back from these guys in about 10min. with e-mail!)
  • new_to_this

    (I usually here back from these guys in about 10min. with e-mail!)


    Well do tell us who they are! There are always people around here looking for good webhosts :)

    --
    -Lobos
    Professional PHP Framework Services: Concept, Development and Deployment
  • American Internet aka, amhosting
    They have a good price and VERRY GOOD support!
    Still a small company that cares aabout there customers!

    there website is http://www.amhosting.com
  • AMHosting was the last host I used prior to moving to a reseller account due to volume of sites I needed to host. Ryan was always pretty helpful and fast.

    --
    Home Page | Find on Facebook | Follow on Twitter

This list is based on users active over the last 60 minutes.