1
kaliman
index.php vs. index.html
  • 2003/12/22 23:15

  • kaliman

  • Not too shy to talk

  • Posts: 110

  • Since: 2003/12/17


Hi all.
I've an small problem, my hosting provider supports php, but cannot set index.php as default page, can only be html, asp etc.
is there a way to rename index.php to index.htm ?


Cheers!

2
FreeOS
Re: index.php vs. index.html
  • 2003/12/23 20:50

  • FreeOS

  • Just popping in

  • Posts: 2

  • Since: 2003/12/23


You can redirect your index.html to index.php

<meta http-equiv="REFRESH" content="7; URL=___your new URL goes here___">
<
base href="___your new URL goes here___">


There are a couple other ways to do it as well with .htacess files on apache or javascript. Do a web search on html redirect or forwarding.

Or ask your host why they can't add index.php as one of the defaults. Ask them nicely to add index.php to the list since this would be your best option.

3
Dave_L
Re: index.php vs. index.html
  • 2003/12/23 21:00

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


Here's how you can do it with an .htaccess file. This will only work if the server uses Apache, and if Apache is configured appropriately.

DirectoryIndex index.php index.htm index.html

4
kaliman
Re: index.php vs. index.html
  • 2003/12/26 1:29

  • kaliman

  • Not too shy to talk

  • Posts: 110

  • Since: 2003/12/17


Hi.
Thankyou very much
The server is IIS, so I'll stick to the first option:
Cheers!

Hey, this forum is the best

5
CBlue
Re: index.php vs. index.html

You bet it is, Kaliman!

6
kaliman
Re: index.php vs. index.html
  • 2003/12/26 20:23

  • kaliman

  • Not too shy to talk

  • Posts: 110

  • Since: 2003/12/17


Hi
I guess this must be very simple, but how do I "tell" XOOPS to go to the index.php file, in stead of the main foler when clicking the logo. If it simply arrives to the main folder nothing is shown, as the index.php is not setted as the main file.

Have a nice day! and thankyou for your help.

7
CBlue
Re: index.php vs. index.html

Edit your theme.html file, that is where you find the place where your logo is and you can edit the url to make the logo go to any place you want when it's clicked.

8
kaliman
Re: index.php vs. index.html
  • 2003/12/28 23:19

  • kaliman

  • Not too shy to talk

  • Posts: 110

  • Since: 2003/12/17


worked perfect!!
Thanks

9
CBlue
Re: index.php vs. index.html

You're welcome, kaliman!

Login

Who's Online

139 user(s) are online (79 user(s) are browsing Support Forums)


Members: 0


Guests: 139


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits