Results 1 to 8 of 8

Thread: help with homepage
      
   

  1. #1
    bassamtk is offline Private First Class
    Join Date
    Jul 2007
    Posts
    5

    Default help with homepage

    my website name is www.clunycaffeeparma.com but the home page name is www.clunycaffeeparma.com/home.html .. i wanted to ask how can i do that when i write the address www.clunycaffeeparma.com to go automaticly to www.clunycaffeeparma.com/home.html because if not it goes to my index!
    hope i was clear.
    thanks

  2. #2
    Watdaflip's Avatar
    Watdaflip is offline Major General
    Join Date
    Sep 2005
    Location
    Cincinnati, Ohio
    Posts
    2,119

    Default Re: help with homepage

    The only thing you can do is set a redirect up on index.html (index is the default page that is loaded when you type in the address. You don't have the access to the change that).

    If you want a simple and more seamless redirect, create a page called

    index.php on your computer (no in bv, just use notepad or wordpad).
    Enter this code
    <? header("Location: http://clunycafeeparma.com/home.html"); ?>

    That will be an almost instant redirect to your home.html page. Then just upload it to the server.

    The simplest solution is just make index.html your main page

    Register/Login Script
    Do you use a Password Protected Directory? Need a way to allow users to make their own account, try my .htaccess Login Script

  3. #3
    bassamtk is offline Private First Class
    Join Date
    Jul 2007
    Posts
    5

    Default Re: help with homepage

    i didnt understand very well what i should do. how i can upload index.php to the srever?
    please help me

  4. #4
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default Re: help with homepage

    Sorry, but i don't understand . If you actually want the page "home.html" to be your homepage, why don't you simply save it as "index" and publish it so ?

    If you setup a redirect in your index, it wil not be available any more (because of the redirect) so what would be the use of this "index" page ?
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  5. #5
    bassamtk is offline Private First Class
    Join Date
    Jul 2007
    Posts
    5

    Default Re: help with homepage

    how i can save it like index?

  6. #6
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default Re: help with homepage

    Simply open your "home" page in BV, then go in File, Save as, and save it as "index"
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  7. #7
    Watdaflip's Avatar
    Watdaflip is offline Major General
    Join Date
    Sep 2005
    Location
    Cincinnati, Ohio
    Posts
    2,119

    Default Re: help with homepage

    Actually I was wrong. I didn't realize there was a .htaccess command to change the apache settings for the default page.

    This might be hard to do if you have never used a ftp before, but basically if you were to go to your website, and find in your public_html directory a file called .htaccess.

    Download that file to your computer, open it in notepad and add this line at the bottom

    Code:
    DirectoryIndex home.html

    And then save, and upload it back to the server (overwriting the old file).


    This will set home.html as the default page that loads when you type in your domain name

    Register/Login Script
    Do you use a Password Protected Directory? Need a way to allow users to make their own account, try my .htaccess Login Script

  8. #8
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default Re: help with homepage

    I believe that bassamtk simply ignored the fact that he needed to publish his page as index. If i am correct, as also Watdaflip has suggested, it is enough saving and publishing the "home" page as "index".
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49