This project is read-only.

BE.N 1.4: SEO Friendly Post Titles Please!

Jul 3, 2008 at 3:44 PM
I recently merged BE.N into my site, It took quite a bit of coercing to get everything working right. In BE.N 1.3, the post titles were correct. In BE.N 1.4 though, the post titles are a concatenation of the blog title and the post title. This is not SEO friendly and could have a huge impact on my site. I need to get the post titles SEO friendly ASAP!

If someone knows where I can dig to fix that (or if there is some hidden setting I missed), I'd appreciate it.
Jul 4, 2008 at 8:40 AM

Open post.aspx.cs and go to line 53:

Page.Title += Server.HtmlEncode(" - " + Post.Title);

and replace with:

Page.Title = Server.HtmlEncode(Post.Title);

then open page.aspx.cs and go to line 76:

base.Title += Server.HtmlEncode(" - " + Page.Title);

and replace with:

base.Title = Server.HtmlEncode(Post.Title);

that's all :-)

Jul 5, 2008 at 3:14 AM
You sir, are a lifesaver! Thanks!
Jul 5, 2008 at 11:40 AM
This is fixed in the version which you can download under the "Source code" tab.