Feeds:
Atom

Today's RealURL release brings two new features.

The first one is support for config.absRefPrefix. Earlier versions did not take that setting into account and refused to create proper links. Now this works. RealURL will recognize the prefix and create URLs. However the prefix will not be applied back to URl automatically. You need to tell RealURL to do it. This happens because there are different cases when config.absRefPrefix is used and applying it blindly all the time would not be right. So, if you use config.absRefPrefix, add the following into RealURl configuration (in bold):

'init' => array(
  ...
  'reapplyAbsRefPrefix' => true,

Another feature is a complete removal of empty postVars. Sometimes URLs are generated like /path/to/page/postvar1///postvar2/hello. This happens when you provide defaults or instruct RealURL to bypass segments. Looks ugly in previous RealURL versions. But not anymore. New version will make this URL: /path/to/page/postvar2/hello. It is not only looks better, it is also shorter! This feature is used now on support.typo3.org, which got nice looking URLs this weekend!

I really like such small cool changes. They make life more convenient to everyone.

Like it? Then bookmark it! digg.comdel.icio.usgoogle.comMyLink.deYahooMyWebTechnoratiFurllive.comnetscapeTagThatWebnews

5 Comments

  1. on Tuesday, 27-05-08 10:49 François Suter
    That sounds really sweet. Thanks Dmitry!
  2. on Tuesday, 27-05-08 14:51 eater
    Thanks Dmitry
  3. on Wednesday, 28-05-08 08:39 Jonas
    That's great! Thank you for working on realurl!
  4. on Thursday, 29-05-08 13:32 XT-Commerce
    Thanks for the hint.
  5. on Wednesday, 02-07-08 07:48 Norbert
    new version is not working: no single page is accessible through realurl!

    the url www.domain.de/dir1/dir2/page1.html is changing automatically (!) to

    www.domain.de/dir1/dir2.html

    then:

    www.domain.de/dir1.html

    then to the root:

    www.domain.de

    so every url is going to the root of the domain. have to switch to the old realurl version which is working with errors to.

    whats wrong?

Leave a Reply