forum.coppermine-gallery.net

No Support => Feature requests => Topic started by: mainpower on February 05, 2006, 01:10:13 pm

Title: Search Engine Friendly URLs plugin optimizing
Post by: mainpower on February 05, 2006, 01:10:13 pm
Hello, would it be easy to include file-name in the URL for better ranking in the Search Engine Friendly URLs plugin ???

Now I have:
http://www.vanwageningen.net/photos/displayimage-11-0.html (http://www.vanwageningen.net/photos/displayimage-11-0.html)

But I would like to have something like;
http://www.vanwageningen.net/photos/displayimage-11-Pic001-Baikal_Seal_at_Leipzig_Zoo.html

I think it's a great plugin though :-)

Thanks,
Matthijs
Title: Re: Search Engine Friendly URLs plugin optimizing
Post by: modrewriteman on February 22, 2006, 10:25:49 pm
I agree that would be nice.  Is this in the works?  I imagine it's not that easy to do, but it would be much appreciated.
Title: Re: Search Engine Friendly URLs plugin optimizing
Post by: SNo0py on August 16, 2006, 01:57:43 pm
Not that hard, Typo3 is doing it like that. Basically your rewrite-rule just ignores everything except of the ID, so it does not matter if you have
displayimage-11-test.html
or
displayimage-11-blablabla_bla.html

In both cases the image with the ID 11 is shown.

On rendering the links you are just using a simple regex that replaces everything except [\w] by e.g. the underscore.

So it's simple....
Title: Re: Search Engine Friendly URLs plugin optimizing
Post by: mainpower on August 20, 2006, 11:06:52 am
Of cource you are right .. but you have to think the other way around ... these links should be generated from the database .. ;-)

This means you have to be familiar with the fieldnames used in Coppermine .. or not ???
Title: Re: Search Engine Friendly URLs plugin optimizing
Post by: jadmanx on October 13, 2006, 06:41:57 pm
is there now a way to make the urls like this ??????
Title: Re: Search Engine Friendly URLs plugin optimizing
Post by: SNo0py on October 14, 2006, 08:39:48 am
Of cource you are right .. but you have to think the other way around ... these links should be generated from the database .. ;-)

This means you have to be familiar with the fieldnames used in Coppermine .. or not ???
Yes, this also means the plugin needs to be rewritten so it creates URLs in the new format.

is there now a way to make the urls like this ??????
No, because the plugin is not maintained anymore.
Title: Re: Search Engine Friendly URLs plugin optimizing
Post by: Joachim Müller on October 14, 2006, 05:25:00 pm
is there now a way to make the urls like this ??????
This is not a support thread, don't expect answers nor pieces of code you could copy'n paste. We're discussing possible features in future releases here.

You might want to review Draft Specification for SEO for Coppermine  (http://forum.coppermine-gallery.net/index.php?topic=37258.0).

I'll delete all irrelevant replies from this thread for those who try to get support here. Just asking for code won't automatically create code; someone who actually needs this and has the needed skills could come up with a solution. Wishful thinking won't help.