Setting Coppermine as Homepage Setting Coppermine as Homepage
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Setting Coppermine as Homepage

Started by Joshua, October 12, 2004, 09:30:49 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Joshua

I would like to set up Coppermine as my homepage. The way my site was designed before is that I had a link to my gallery and forums. But since my site is mainly pics of my kids, I don't really need the first page, I'd rather have it go directly to the Coppermine Gallery. I know the main page is usually always index.html. So what Coppermine files do I need to modify?

Did some searches but didn't find the answers.

Thanks

Tranz

Is CPG installed in the root or in a subfolder?

Joshua

Subfolder.

As we speek I'm installing to the root.

Should that do it?

Is there any file I need to modify?

Thanks for the reply Tranz.

Tranz

You're welcome. :)

If you install it to root, then all you need to do is go to the domain and the gallery will be the home page because it is index.php. Just make sure you don't have any other index files that could conflict.


Joachim Müller

Quote from: Joshua on October 12, 2004, 10:18:15 PM
Ya da man  :o
not exactly - look at the gender display in Thu's profile ;-) ;D

Joachim

ChaosCrusader

Now that solved it for root installations.  Is there a way to do the same if you haven't installed to the root?

Nibbler

Same way will work for installation in any directory.

Abbas Ali

Quote from: ChaosCrusader on October 17, 2004, 04:07:45 PM
Now that solved it for root installations.  Is there a way to do the same if you haven't installed to the root?

Suppose your cpg installation is at http://yourdomain.com/cpg/ then you can make an index.php file in the root which will redirect the visitors to your cpg folder. Root index.php should have following code


<?php
  header
("Location: cpg/index.php");
  exit;
?>

Chief Geek at Ranium Systems