[geeklog-devel] Search Engine Friendly URLs for Stories

Vincent Furia vmf at abtech.org
Sat Jan 31 11:02:16 EST 2004


Dirk Haun wrote:

>Vinny,
>
>  
>
>>I wrote this against the current CVS version of geeklog-1.3. [...] Like 
>>staticpages, it is keyed on the $_CONF['url_rewrite'] variable.
>>    
>>
>
>I've integrated these patches into CVS now. Thanks!
>
>I played around with it and noticed that the URL rewriting has one
>drawback: It's not flexible enough to handle varying parameters, e.g.
>
>    http://www.geeklog.net/article.php/20031228224244779/print
>    http://www.geeklog.net/article.php/20031228224244779/Gallery
>
>where the first one would be a link to the printer-friendly version (i.e.
>&mode=print without rewriting) and the second one highlighting the word
>"Gallery" when being returned from a search (i.e. &query=Gallery without
>rewriting).
>
>So at the moment, we have a mixture of both rewritten and normal links.
>Not really a problem, but it looks a bit odd.
>
>
>  
>
I'll try a couple things, I might be able to figure something out.

>>I'd also like to add the recommendation that the 
>>"start_readmore_anchortag" and "end_readmore_anchortag" be available to 
>>the template regardless of whether there is more text to read.
>>    
>>
>
>I've introduced an {article_url} variable now that you could use for a
>"link to this story" link (as seen on many news sites). Wouldn't that
>accomplish the same result?
>
>  
>
That's works great Dirk.  I look forward to having it.

Thanks,
Vinny



More information about the geeklog-devel mailing list