Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Homepage Issue

  • 07-08-2012 01:46PM
    #1
    Registered Users, Registered Users 2 Posts: 5


    Hi folks, I'd greatly appreciate your help for this one. I'm doing a bit of seo for my friend an ran into one issue.

    When you type in his website address, it goes to index.html and then instantly redirects to index.php and displays the homepage as xxx.ie/index.php how can I eliminate the redirect and make it link straight to index.php?

    I tried deleting index.html from the root folder but then the website wouldn't load...


Comments

  • Registered Users, Registered Users 2 Posts: 16,415 ✭✭✭✭Trojan


    Squat wrote: »
    When you type in his website address, it goes to index.html and then instantly redirects to index.php and displays the homepage as xxx.ie/index.php how can I eliminate the redirect and make it link straight to index.php?

    I tried deleting index.html from the root folder but then the website wouldn't load...

    Edit or create the .htaccess file in the root directory and add
    DirectoryIndex index.php index.html
    

    That should sort you.


  • Registered Users, Registered Users 2 Posts: 5 Squat


    Thanks for the reply! Unfortunately htaccess did not solve the problem. If I remove the index.html then it doesn't load the index.php and just show the root directory of files from a browser.

    Thoughts? :/


  • Registered Users, Registered Users 2 Posts: 396 ✭✭M.T.D


    Hi
    Who are you hosting with?
    Is it linux or windows?
    What control panel system?


  • Registered Users, Registered Users 2 Posts: 5 Squat


    The site is hosted with arenaone.net

    Online hosting check tool says that it's Microsoft-IIS on Windows 2000.

    The problem is that I don't have any access to control panel, I only have ftp address and password so I could upload or download files.


Advertisement