coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 install => Topic started by: altares on February 13, 2007, 03:25:14 PM

Title: What do I do gallery index.php visible in homepage?
Post by: altares on February 13, 2007, 03:25:14 PM
i have:

http://maraniweb.it/cpg1410/index.php

i want put index.php in the home page

http://maraniweb.it/index.php

thanks
Title: Re: What do I do gallery index.php visible in homepage?
Post by: Nibbler on February 13, 2007, 03:54:50 PM
Move the gallery there then.
Title: Re: What do I do gallery index.php visible in homepage?
Post by: altares on February 13, 2007, 06:54:53 PM
i want home page coppermine http://maraniweb.it/index.php. If  i move the index.php the link no work. I create page redirect?
Title: Re: What do I do gallery index.php visible in homepage?
Post by: Joachim Müller on February 13, 2007, 06:55:51 PM
Either move everything there (not only the index file, but the entire coppermine folder and file structure) or set up a redirect. Up to you, both will work fine.
Title: Re: What do I do gallery index.php visible in homepage?
Post by: altares on February 14, 2007, 10:38:16 AM
I do not know creating one page of redirect
Title: Re: What do I do gallery index.php visible in homepage?
Post by: altares on February 14, 2007, 10:53:24 AM
ok,ok. i create a index page with this code:

<?php
header("Location: http://www.maraniweb.it/cpg1410/index.php");
?>

;D ;D

Title: Re: What do I do gallery index.php visible in homepage?
Post by: Joachim Müller on February 15, 2007, 07:17:38 AM
Issue solved then?
Title: Re: What do I do gallery index.php visible in homepage?
Post by: jle on March 10, 2007, 10:47:29 AM
Quote from: altares on February 14, 2007, 10:53:24 AM
ok,ok. i create a index page with this code:

<?php
header("Location: http://www.maraniweb.it/cpg1410/index.php");
?>

;D ;D



No i don't believe this works because there is a lot of reference to the index.php file. For example in the index.php file it self. How knows what is stored in the DB?
I tried this a little but a lot of stuff doesn't work anymore then. I tried this because I want to display /index.php?cat=1 (usercategories).

Jurjen
Title: Re: What do I do gallery index.php visible in homepage?
Post by: Joachim Müller on March 10, 2007, 11:21:57 AM
Why don't you do as suggested in the first place and move the entire content of your coppermine folder into your webroot? All that is left to do then is change the coppermine URL in the config and you're done.