SEO Urls plugin

Plugin details

The plugin looks for 'name' or 'title' attributes and if they are available it uses them to generate a search engine friendly string. to_param method is overwritten so that it returns the the numerical id of the record with the search engine friendly string appended to it.

Websitehttp://www.bitbutter.com/seo_urls-plugin-making-show-pages-more-findable/14 Repositoryhttp://svn.redshiftmedia.com/svn/plugins/seo_urls Author Tomasz Kaye Tags seo, url LicenseMIT

Documentation

Install the plugin:
ruby script/plugin install http://svn.redshiftmedia.com/svn/plugins/seo_urls

To apply this plugin to a model:

class Post < ActiveRecord::Base
   seo_urls
end


Or to use an attribute other than name or title:

class Post < ActiveRecord::Base
   seo_urls "nickname"
end

Further Documentation

There is currently no advanced documentation for this plugin.

New documentation

Edit plugin | (0 older versions) | Last edited by: hardway, 7 months ago