Development of Tiki Layers for Search Engine Friendly URLs
Print

The actual Project for this work is at: http://mods.tikiwiki.org/tiki-project.php?projectId=14

UPDATE 23rd May, 2005
I've released the first proper version of the Tiki URLt package. This is essentially everything you need to be able to use URL transformations, thus acheiving Search Engine Friendly URLs.

The solution is actually really neat, with some helpful features, including:
  • Super-fast HTML parsing and URL translation
  • Advanced cached database reads for greater efficiency (configurable!)
  • Handles errors gracefully (eg. Page Not Found, Translation Error)
  • Can handle non-PHP content (configurable MIME types)
  • Works on any web server (Apache, IIS, etc) or can be used with Apache mod_rewrite
  • Written to the latest Tiki guidelines (ie. ADODB, PHPdoc, etc)
  • Tested and working on Tiki 1.8.5 and 1.9.0 (but should also work with other versions)

Until I can get this into the proper Tiki project (linked above), you can get Tiki URLt at my website:
http://www.coofercat.com/wiki/TikiURLt (external link)
(what a lovely URL ;-)

...Coofer Cat (external link)

Current Known Issues
(1) The HTML parser in the output filter does not handle JavaScript? links correctly. This is not ideal, but it is unlikely the parser will ever really be able to translate links embeded in JavaScript?.
(2) Smarty seems to submit the same template information multiple times. This means that URLs are double-translated, so the "stop on match" facility is somewhat diminished in value. A Tiki bug has been raised for the problem, although it may be a broader Smarty issue.
(3) Tiki programs that return HTTP redirects (ie. "302 Location:" headers) are not available to the output filter. As a result, the redirects do not bear translated URLs. It is unclear how to solve this issue (are outgoing headers available to PHP4? If so, how!?)
(4) Numerous Tiki programs do not output consistent URLs. For example, a blog page post is identified as "tiki-view_blog_post.php?blogId=1&PostId=1". However, the link "back to blog" is "tiki-view_blog_post.php?find=&blogId=1&PostId=1...". Whilst only a slight difference in ordering, and no doubt easily done, this causes immense problems for URL translations. It is unclear how this can be overcome in a sensible Tiki-wide way.
(5) Blogs are a real pain in the neck for SEFURL work. I'm not sure what the solution is, short of some major blog hackery.
(6) Actually making regex transformations work is a really difficult process. Users require intimate knowledge of regexes, and how web pages are delivered and how requests are made. As a result, this is a very advanced feature, which only the very cunning should consider!



Contributors to this page: coofercat68 points  .
Page last modified on Monday 23 May 2005 18:33:43 CET by coofercat68 points .

Search Wiki PageName [toggle]

What theme do you use the most? [toggle]

To help determine the themes to include in the next Tiki release, please indicate what theme you now use (or use most). (Login necessary to vote.)

What theme do you use?
  • Bluegreen
  • Boreal
  • Codex
  • Damian
  • Dblue
  • Default
  • Elegant
  • Fmsc
  • Gemsi
  • Geo
  • Hec
  • Jalist
  • Lesjetesdelencre
  • Moreneat
  • Mose
  • Mozilla
  • Neat
  • Olive
  • Simple
  • Smartiki
  • Subsilver
  • Tceti
  • Tikigod
  • Tikineat
  • Tranquil
  • Trollparty
  • Whitebluegrey
  • (Other)
View Results
(Votes: 70)
Cookies must be allowed to vote

Menu [toggle]

Chatroom [toggle]

Click here to login to the TikiWiki IRC chatroom


Pop ups must be allowed by your browser.

Shoutbox [toggle]

chibaguy1239 points : New themes available to logged-in users: go to your MyTiki user prefs page. :-)
Darkbee50 points : Woohoo, 2.0 is here and it's looking good. Great work ladies and gents!
SEWilco37 points : Today's date is 2008-07-28.
Darkbee50 points : Apparently there was a power outage that caused some down-time.
Darkbee50 points : Has there been problems with the tikiwiki.org site? I haven't been able to get on all morning.
amateurathlete5 points : I have 1.9.10.1 now, should I bother upgrading to 1.9.11 before 2.0 is officially released?
Darkbee50 points : Have I missed an announcement about 1.10 becoming 2.0?
Frodoger2 points : twversion.class.php how to disable? Our tikiwiki don#t has internet access
CodyLoco23 points : @marclaporte: Is this a finished feature in 1.10? I'm running 1.10 on my site: www.clipsharewiki.com
marclaporte6764 points : CodyLoco: coming soon (1.10), yes
Powered by Tikiwiki Powered by PHP Powered by Smarty Powered by ADOdb Made with CSS Powered by RDF powered by The PHP Layers Menu System
RSS feed Wiki RSS feed Blogs RSS feed Articles RSS feed Image Galleries RSS feed File Galleries RSS feed Forums RSS feed Directories