Published on

Append text to a Sitefinity Page Title

Authors

Here’s a  trick to appending (or prefixing) your domain to your sitefinity site.

MVC

Webforms

Edit the code of your masterpage and paste this in

It wont work if it goes below the base.Render, so keep it above.

I’ve experimented and this is the safest place to do it as if you try in prerender, then visit a dynamic generated page with the PageTitleMode set to Append you’d get this

pagename | mysite.com dynamicitemtitle
not
pagename dynamicitemtitle | mysite.com