Advanced search  

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]

Pages: [1]   Go Down

Author Topic: I want change my index page code  (Read 2854 times)

0 Members and 1 Guest are viewing this topic.

jaiak

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 34
  • Spanish
    • Spanish Young People Electronic Music and Concerts
I want change my index page code
« 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!
« Last Edit: March 20, 2007, 10:19:33 pm by Nibbler »
Logged

jaiak

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 34
  • Spanish
    • Spanish Young People Electronic Music and Concerts
Re: I want change my index page code
« Reply #1 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!
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: I want change my index page code
« Reply #2 on: March 19, 2007, 06:45:51 pm »

Edit include/functions.inc.php, find
Code: [Select]
        // 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.
Logged

jaiak

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 34
  • Spanish
    • Spanish Young People Electronic Music and Concerts
Re: I want change my index page code
« Reply #3 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!
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 14 queries.