Search Engine Friendly URLs

johndbritton
johndbritton's picture

Joined: 2005-03-23
Posts: 78
Posted: Mon, 2005-05-09 20:16

Anyone know of a way to get search engine friendly URLS? Instead of http://www.chronicfiend.com/index.php?option=com_gallery&Itemid=80&include=albums.php&set_albumListPage=3

somthing like http://www.chronicfiend.com/gallery/albumname/photo ?

I have gallery embedded in MAMBO 4.5.2.1, you need a password to see any content of my gallery ... if you can help and want me to pm you a user and pass reply to this post. Thanks
----

he following information is required to get an answer:
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery URL (optional but very useful):
Gallery version: Gallery v1.5.1-cvs-b20
Apache version:
PHP version (don't just say PHP 4, please): PHP v4.3.10
Graphics Toolkit: NetPBM
Operating system: Linux
Web browser/version (if applicable):

 
Jordan_01002

Joined: 2005-02-14
Posts: 1535
Posted: Mon, 2005-05-09 20:21

I'm pretty sure this is the functionality provided by mod_rewrite. For example, and as a blatant excuse to post a picture of my daughter, a picture on my gallery can be referenced by the url http://syrinx.sbs.umass.edu/Sarah/Im-two/abq , which is, I believe, what you're after.

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Mon, 2005-05-09 20:25

[Moved to correct forum]

I don't think it's possible to use mod_rewrite like that, when embedded. Not 100% sure though, but someone in this forum should be able to verify.

 
signe
signe's picture

Joined: 2003-07-27
Posts: 2322
Posted: Mon, 2005-05-09 20:36

Gallery doesn't support SEF, however there are several user contributed patches in this forum if you do a search.

 
johndbritton
johndbritton's picture

Joined: 2005-03-23
Posts: 78
Posted: Mon, 2005-05-09 21:04

I dont think mod rewrite will work, especially because mambo is using that for search engine friendly urls... but for some reason the gallery doesn't take the same form as the rest of the mambo urls.

 
TheGillis

Joined: 2005-05-10
Posts: 3
Posted: Tue, 2005-05-10 05:15

Hi everyone,

I ran into the same problem and decided to find out what the problem is on my own. The other issue is that I've seen another solution and I was not too pleased with it. This way it uses the standard Mambo SEF URL function and all the benefits that come with it. One of the benefits is that it still keeps the admin function popups working. Also any SEF components used with Mambo should still let this work.

This is the patchfile that I came up with:
http://www.thegillis.net/examples/mambo/gallery.mambo.sef.patch

This is my writeup on the topic to show the details:
http://www.thegillis.net/content/view/33/31/

Hope this helps some.

 
johndbritton
johndbritton's picture

Joined: 2005-03-23
Posts: 78
Posted: Tue, 2005-05-10 18:51

Yeah, that isnt working for me for some reason it just makes my gallery not load at all.

 
Hotzi

Joined: 2004-03-16
Posts: 58
Posted: Sat, 2005-05-14 22:02

There is a solution from LogicX here in the forum.

But there is a problem with the pathway at the moment.

Look here: http://www.hotzeltopf.de/gallery/Doom3/Doom_3_36 for example.

I used the changes made by LogicX.

Best regards

Hotzi

 
TheGillis

Joined: 2005-05-10
Posts: 3
Posted: Sun, 2005-05-15 01:37

Funny you should mention LogicX and his code. He's a good friend of mine, but his code is what I was referring to when I said that I found code that did not please me. You are correct about his pathway issue, and I'll see if I can work with him now to get one version of the code that works (he's sitting next to me). Thanks for the suggestion though.

 
TheGillis

Joined: 2005-05-10
Posts: 3
Posted: Thu, 2005-06-02 08:12

I finally found a graceful solution to the SEF problem between Gallery and Mambo by using the Xaneon extensions. I have also fixed the LogicX pathway bug in his patch. The patches and explanation can be found at:

http://www.thegillis.net/programming_papers/php/mambo,_xaneon,_and_gallery_sef_extension.html

This solution can be turned on or off from the admin, and leaves the stand alone gallery able to function on its own.

Hope this helps some.

 
buglerroller

Joined: 2005-07-25
Posts: 28
Posted: Sun, 2005-08-14 01:33

Brian,

any luck using SEF Advanced?

 
molica

Joined: 2007-11-01
Posts: 1
Posted: Sun, 2007-11-04 14:10

Are blogspot url's <a rel=follow href="http://easybacklinks.blogspot.com/2007/10/search-engine.html">search engine</a> friendly ?