coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: jaiak on March 15, 2007, 02:39:44 AM

Title: I want change my index page code
Post by: jaiak on March 15, 2007, 02:39:44 AM
Hello!

I have a coppermine gallery with "breadcrumb/catlist/alblist" in the main content in the configuration page.

Then, in the "breadcum" in my list of categories appear: "Inicio > Fotos Discotecas" and the Index page (inicio in spanish) is linked to /fotos/index.php - Can I change this link to /fotos/ wihitout /index.php ? This change will be better for SEO indexing of my gallery because /fotos/ and /fotos/index.php is different pages for google...

Moreover, I want put a different index.php in my MAIN page, but I have saw that this index file is used in all categories... and I wnat change ONLY my MAIN PAGE, no the other categories index pages... Then I think use a index.html for example and put with .htaccess the file index.html with MAIN FIRST file page that apache read in the directory. Then other categories will be read index.php correctly. Do you understand me?

Can you help me?? Sorry for my english and thousand thanks in advance!
Title: Re: I want change my index page code
Post by: jaiak on March 19, 2007, 04:21:45 PM
The same question more simply

Can I set the index's link, to index.html instead index.php ?

Regards from spain!
Title: Re: I want change my index page code
Post by: Joachim Müller on March 19, 2007, 06:45:51 PM
Edit include/functions.inc.php, find        // Add the Home link  to breadcrumb
        $breadcrumb_links[0] = '<a href="index.php">'.$lang_list_categories['home'].'</a>';
        $BREADCRUMB_TEXTS[0] = $lang_list_categories['home'];
and edit as you see fit.
Title: Re: I want change my index page code
Post by: jaiak on March 20, 2007, 08:45:22 PM
Very thanks GauGau!

I change <a href="index.php"> for a href="/fotos/"> and I wait that my SEO indexing will be better

Thanks again!