Change startpage to mysite.php Change startpage to mysite.php
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Change startpage to mysite.php

Started by gelaskimgel, October 04, 2006, 03:34:53 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

gelaskimgel

Hey

Is it possible to change the startpage of my webpage gallery... Now it starts coming up with index.php, when I'm typing www.mysite.com on the browser... I want to have the browser to show mysite.php as a startpage instead of index.php... Is that possible? I know how to change it fast, but then everything else is still the same...

Sami

Rename index.php to something else (e.g. gallery_index.php) and then rename your strtpage (mysite.php) to index.php
‍I don't answer to PM with support question
Please post your issue to related board

Joachim Müller

or (if your webhost allows you this) re-assign the index file for the folder coppermine resides in to your splash page.

gelaskimgel

Sami if I do that, then I also have to change the menu links right?

GauGau I don't understand what you mean? Can you explain it, or can you code it  for me If I post the index.php file inside here?

b4uphotos

I will recommand u the best way to do this.

Create ur own homepage then save it with filename index.shtml

and upload it simply to ur website

I did the same in my site of hotels

check this same http://www.b4uhotels.com/ is equal to http://www.b4uhotels.com/index.shtml

while check this http://www.b4uhotels.com/index.php

both are index file but servers gives priority to index.shtml rather than index.php


Enjoy the trick ;)

Its my first support effort to coppermine forum and hope i will do the same support in future too..
i will try for best answers

Thanks!

Sami

‍I don't answer to PM with support question
Please post your issue to related board

gelaskimgel

b4uphotos that is very smart trick :) but I've got a problem, because mysite.php file includes php programming language and that will not work in shmtl file type.

Joachim Müller

Ask you webhost what other extensions are allowed then and have precedence over index.php, or use the splash page method I suggested.

Tranz

Couldn't mysite.php be listed as the index file? There's support for default.whateverextension