O'Reilly logo

Learning Joomla! 1.5 Extension Development by Joseph L. LeBlanc

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Generating search-engine-friendly links

Currently, the links to our reviews are generated as long GET strings, such as http://localhost/joomla/index.php?option=com_resaurants&id=1&view=single&Itemid=2. Our critics mentioned that they hate seeing links like these. Also, these links are not very helpful for search engines attempting to index our site. It would be preferable to have a link like http://www.ourdomain.com/reviews/view/1 instead. To accomplish this, we will define a route to both generate and decode Search-Engine-Friendly (SEF) links. Before we write any code, we will have to go to the administrator backend and enable SEF links. Go to Site | Global Configuration and make sure that Search Engine Friendly URLs is set to Yes. If you are ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required