[solved] Static URLs using PID instead of POS... [solved] Static URLs using PID instead of POS...
 

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]

Main Menu

[solved] Static URLs using PID instead of POS...

Started by Lombi, September 17, 2004, 01:27:44 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Lombi

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
While you are looking at some surreal art prints or just some surrealistic art you might get yourself some windows xp boot screens.

Lombi

#1
While you are looking at some surreal art prints or just some surrealistic art you might get yourself some windows xp boot screens.

Tranz

Are you talking about the links from such meta albums as "random" or "last added"?

Tarique Sani

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 ;)  )
SANIsoft PHP applications for E Biz

cryogenic

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.

Tarique Sani

#5
nope SEF URLs is a completely different thing - and I do not think SEF works on meta album yet...
SANIsoft PHP applications for E Biz

Lombi

#6
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
While you are looking at some surreal art prints or just some surrealistic art you might get yourself some windows xp boot screens.

Lombi

#7
While you are looking at some surreal art prints or just some surrealistic art you might get yourself some windows xp boot screens.