coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: djriknet1 on January 22, 2007, 07:02:08 PM

Title: double index...
Post by: djriknet1 on January 22, 2007, 07:02:08 PM
I don't realy know in what forum i can post this question
GauGau , please help to place this right.


Before the gallery was a part of my website, so i had a index.html, pointing to the gallery...

Now, the gallery became that important of the website that i desided it will be the realy home page.

situation right now, in the root folder i have a html document with the body onload, -> go to /gallery
problem of that: the index.html does not contain anything, and that's not good for the search engines,
so i like to have for example a copy of the index.php in the /gallery folder in the root folder.

is that possible? and does it work?


Greetings

Hendrik Kroon
Title: Re: double index...
Post by: Nibbler on January 22, 2007, 07:03:43 PM
Why not move the gallery to the root?
Title: Re: double index...
Post by: djriknet1 on January 22, 2007, 07:14:30 PM
is a posibility, but lot's of liks are made already to the /gallery directory.
So if it is possible to make a copy of the index.php

is it possible to make a php file and just put in there include: /gallery/index.php or something like that?
Title: Re: double index...
Post by: Joachim Müller on January 22, 2007, 08:28:04 PM
No, coppermine can't be included using PHP's include command. Use a redirect if you don't want to move the gallery into the root.