Have SEO-friendly page titles
Reported by Michael Hartl | August 10th, 2008 @ 05:39 PM
Insoshi page titles should be more SEO-friendly. This blog post is a good place to start. Make sure to incorporate the global_prefs.app_name if (and only if) it's present.
Comments and changes to this ticket
-
Michael Hartl August 10th, 2008 @ 05:39 PM
- → Title changed from Be more SEO-friendly to Have SEO-friendly page titles
-
Jesse Crockett August 12th, 2008 @ 07:43 AM
With an application helper method, and per-controller set_title method, and this thing:
<title><%= app_title ? app_title + (@title ? " | #{@title}" : '') : "Insoshi Open Source Social Networking Platform" + (@title ? " | #{@title}" : '') -%></title>It works well. My only question here is how to go about working with id-person tokens, 1-admin etc. I don't know where that's implemented. Also a url such as /messages and I seem to require session data. Holler if I'm headed in the wrong direction, thanks.
-
Jesse Crockett August 13th, 2008 @ 08:45 AM
I think I've hammered this one. The implementation was pretty easy, but learning enough RSpec to write three stubs was challenging.
Titles such as
App | Search: lorem ipsum App | Profile for Linda Sunt
Five hours of googling and rspec training videos to clear spec!
Created commit 0496576: SEO-friendly page titles 30 files changed, 133 insertions(+), 25 deletions(-)
Works.
-
Michael Hartl September 26th, 2008 @ 10:34 AM
- → State changed from new to open
- → Assigned user changed from to Michael Hartl
Please Login or create a free account to add a new comment.
You can update this ticket by sending an email to from your email client. (help)
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
