First of all. Thanks for a great package. I'm testing it on my (cheap) private server at the moment. :)
Running vers. 4.7.1 of Umbraco and vers. 1.3.6.1 of uBlogsy.
Just a minor error. If I enter a number in the Blog title (Landing page title), the Razor file generates an error:
Error loading Razor Script uBlogsyBrowserTitle.cshtml Cannot implicitly convert type 'int' to 'string'
I guess the title always should be treated as a string (because... The title tag is always a string), no matter what.
I don't believe it's good SEO practice to include the same title at every page, like "blog title : my blog post title". It should just be "my blog post title". I am no SEO expert, at all, this is just what I have been told from other projects I was involved in.
It turns out that when the title is just a number, something is happening is converting it to an int when its value requested.
To fix it:
string title = landing.uBlogsyContentTitle.ToString();
Regarding the SEO friendliness of "blog title : my blog post title" .... I worked at this SEO company and they actually requested that i did that : http://www.greenlightsearch.com
I'm not an SEO expert, but I'm inclined to go with what they asked for.
Numbers in blog title - error
Hi Anthony,
First of all. Thanks for a great package. I'm testing it on my (cheap) private server at the moment. :)
Running vers. 4.7.1 of Umbraco and vers. 1.3.6.1 of uBlogsy.
Just a minor error. If I enter a number in the Blog title (Landing page title), the Razor file generates an error:
I guess the title always should be treated as a string (because... The title tag is always a string), no matter what.
I don't believe it's good SEO practice to include the same title at every page, like "blog title : my blog post title". It should just be "my blog post title". I am no SEO expert, at all, this is just what I have been told from other projects I was involved in.
That's interesting.
It's this line:
string title = landing.uBlogsyContentTitle;
It turns out that when the title is just a number, something is happening is converting it to an int when its value requested.
To fix it:
string title = landing.uBlogsyContentTitle.ToString();
Regarding the SEO friendliness of "blog title : my blog post title" .... I worked at this SEO company and they actually requested that i did that : http://www.greenlightsearch.com
I'm not an SEO expert, but I'm inclined to go with what they asked for.
Hey Anthony!
Thanks for the answers. I'll keep the thread alive and post if I meet some more. :-)
is working on a reply...