Recently I had a page that had “Pages – ” in the Title. Couldn’t figure out where it was coming from until I follow the clue left for me in the masterpage by Randy Drisgill.

The Title is over written by the page layout page. You can get rid of the “Pages – ” in the title by editing the page layout of the page. In the offending page layout look for:

Then:

Set the ListProperty to Visible=”false” and delete the ” – ” before FieldValue on the next line.

Conversly you could add this code to a different page layout to ensure you have similiar page title across your entire site.

My offending page layout was BlankWebPartPage.

This is under Publishing Sites. I’m not sure if it is the same for Team Sites.

Hope this helps someone.

About these ads