coppermine-gallery.com/forum

Support => Older/other versions => cpg1.3.x Support => Topic started by: Lombi on September 17, 2004, 01:27:44 PM

Title: [solved] Static URLs using PID instead of POS...
Post by: Lombi on September 17, 2004, 01:27:44 PM
Hey there. I have a question if something can be done with Coppermine. The system constantly uses the locations such as http://coppermine.sourceforge.net/demo/displayimage.php?album=2&pos=2 but these get changed the second you upload a new image into the category and thus renders google's index completely useless.

Would it be possible to tell coppermine to stop using this system and link to image's unchangeable address which would be http://coppermine.sourceforge.net/demo/displayimage.php?pos=-10 ?

(I am thinking about the album system as the ssi.php uses this naming convention)

Solution found here:
http://forum.coppermine-gallery.net/index.php?topic=5832.0
Title: Re: Static Image URLs?
Post by: Lombi on September 23, 2004, 02:57:57 AM
Sollution to problem found here:
http://forum.coppermine-gallery.net/index.php?topic=5832.0
Title: Re: Static Image URLs?
Post by: Tranz on September 23, 2004, 03:02:09 AM
Are you talking about the links from such meta albums as "random" or "last added"?
Title: Re: Static Image URLs?
Post by: Tarique Sani on September 23, 2004, 06:41:45 AM
I know how frustrating it is to have URLs like that indexed by the search engine and pople hollering. However it is not as simple as just using pos=-pid.

That said I have added this functionality to CPG and will be committing it today to the CVS - you can checkout the new version if you wish (all support and guarantees void ;)  )
Title: Re: Static Image URLs?
Post by: cryogenic on September 23, 2004, 09:25:32 AM
I thought this was the point of the SEF URLs plugin? I know all it does is basically use mod_rewrite in apache to accomplish this effect to a degree, but it seems to be ok.
Title: Re: Static Image URLs?
Post by: Tarique Sani on September 23, 2004, 11:23:56 AM
nope SEF URLs is a completely different thing - and I do not think SEF works on meta album yet...
Title: Re: Static Image URLs?
Post by: Lombi on September 26, 2004, 05:00:12 AM
Oh wow, thanks. I will look into this the first thing in the morning.

If this is half of what it should do it will be the answer of my prayers.
It's probably unnecessary to add that I failed miserably in all my tries to do this myself :P

----

Sollution to problem found here:
http://forum.coppermine-gallery.net/index.php?topic=5832.0
Title: Re: Static Image URLs?
Post by: Lombi on September 27, 2004, 02:58:39 AM
Sollution solved here:
http://forum.coppermine-gallery.net/index.php?topic=5832.0