Advanced search  

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

Pages: [1]   Go Down

Author Topic: Write custom permalinks for albums, categories and images?  (Read 6146 times)

0 Members and 1 Guest are viewing this topic.

Walkinman

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 380
    • Skolai Images - Nature, Travel and Adventure stock photos
Write custom permalinks for albums, categories and images?
« on: December 25, 2013, 03:00:42 am »

Hey folks,

I don't see where this has been posted before as a specific request .. but would it be possible? I'd like to drop the plugin for SEO friendly urls, as it's ridiculously bad. But I would like to be able to write custom permalink urls for at least categories and albums, and possible even image display pages as well.

So rather than have an automated setup, like the plugin tries to do, have a field that allows me to write a custom permalink. Wordpress does this easily, and if I write a permalink already being used, it simply adds a "-2" to the end of the new one, etc, to avoid conflicts.

I'm beginning (slowly) to understand how cpg works a little differently, so it may not be possible without major overhaul for the image display pages .. but the album and categories should be straight forward, no?

Thanks in advance.

Cheers

Carl
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Write custom permalinks for albums, categories and images?
« Reply #1 on: December 27, 2013, 12:27:36 pm »

I doubt this will become a core feature, as it probably causes some trouble. Regarding categories and albums it might be straightforward, but at least meta albums needs some elaboration.
Logged

Walkinman

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 380
    • Skolai Images - Nature, Travel and Adventure stock photos
Re: Write custom permalinks for albums, categories and images?
« Reply #2 on: December 27, 2013, 12:34:15 pm »

Hey André

Thanks for letting me know. The more I thought about it, the more I thought that might be the case. The meta albums aren't very critical for my needs, and google doesn't seem to like them much anyway, but I understand that isn't the case for some people But the categories and albums it would be a great help, I think.

Cheers - Happy New Year!

Carl
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Write custom permalinks for albums, categories and images?
« Reply #3 on: December 27, 2013, 12:43:31 pm »

Better to create a plugin. Advantage: you can even create it for cpg1.5.x and it's easier to maintain.
Logged

Walkinman

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 380
    • Skolai Images - Nature, Travel and Adventure stock photos
Re: Write custom permalinks for albums, categories and images?
« Reply #4 on: December 28, 2013, 12:57:49 am »

That would be even better. Should I post a request in the plugin page, or just "sit tight and hope"?

Thanks
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Write custom permalinks for albums, categories and images?
« Reply #5 on: December 29, 2013, 12:39:01 pm »

I personally won't create such a plugin. Either you create it yourself or ask for help.
Logged

Walkinman

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 380
    • Skolai Images - Nature, Travel and Adventure stock photos
Re: Write custom permalinks for albums, categories and images?
« Reply #6 on: December 30, 2013, 03:01:41 am »

Oh, there's no way I could create it. I wouldn't know where or how to start. I will ask in the freelance's forum, or is there a plugin request option somewhere?

Cheers

Carl

Logged
Pages: [1]   Go Up
 

Page created in 0.03 seconds with 19 queries.