1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Please help how to mix up index.html and index.php

Discussion in 'Web Hosting' started by RedQueen, May 30, 2013.

  1. RedQueen

    RedQueen Jr. VIP Jr. VIP Premium Member

    Joined:
    Feb 13, 2012
    Messages:
    459
    Likes Received:
    26
    Occupation:
    Full time IM
    Location:
    Anywhere
    Home Page:
    I have index.html created on dreamweaver and I have subdomain created on cpanel
    wordpress hosted.

    my problem is how to mix up index.html to index.php so that the main page will redirect on my
    main site then post blogs on the subdomain


    thanks for any input
     
  2. Conor

    Conor Jr. VIP Jr. VIP

    Joined:
    Nov 7, 2012
    Messages:
    3,363
    Likes Received:
    5,425
    Gender:
    Male
    Location:
    South Africa
    Home Page:
    I don't quite understand what you are trying to do dude. What do you mean by "mix up"? If you have a custom index.html, just upload it to your root directory via ftp. That should be the first page users will see when they type your URL.
     
  3. themidiman

    themidiman Power Member

    Joined:
    Feb 25, 2011
    Messages:
    701
    Likes Received:
    1,536
    Location:
    root@pts/0
    Index files are directory specific. If you want index.html to load when you view domain.com, upload it into the document root for your site. ex. public_html. Then, if you want your blog to show on a subdomain, simply install Wordpress in the subdomain location. ex. public_html/subdomainfolder.
     
    • Thanks Thanks x 1
  4. RedQueen

    RedQueen Jr. VIP Jr. VIP Premium Member

    Joined:
    Feb 13, 2012
    Messages:
    459
    Likes Received:
    26
    Occupation:
    Full time IM
    Location:
    Anywhere
    Home Page:
    thanks quite simple