Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Index Server with aspx files doesn't see page title

Posted on 2009-02-24
2
Medium Priority
?
211 Views
Last Modified: 2013-12-08
Index server seems to catalogue .aspx files but doesn't find the page title which is an attribute in the code line used by the Master page. Is there a new filter to use in Index server or possibly a coding convention to ensure Index server finds the page titles.

We could put <header> and <title> tags into the aspx page but this seems a bit crude and defeats the  object of the Master page. I'm sorry if this has a simple answer but we have searched and cannot find anything sensible.
0
Comment
Question by:mfor101
2 Comments
 
LVL 15

Accepted Solution

by:
aibusinesssolutions earned 2000 total points
ID: 23729331
What I usually do is put a a content place holder in the <head> tag on the masterpage, and then define each page in the content area.  Like so:

Masterpage.master
<head runat="server">
    <asp:ContentPlaceHolder id="head" runat="server">
    </asp:ContentPlaceHolder>
</head>

ContentPage.aspx
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<title>Cotent Page</title>
</asp:Content>

That should allow the index server to pick up the <title> tag in each page.  It also allows you to add custom description and keywords to each page.
0
 

Author Closing Comment

by:mfor101
ID: 31550495
Thank you, didn't think of a placeholder in the head - that solves it very neatly. Thanks again
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Originally, this post was published on Monitis Blog, you can check it here . It goes without saying that technology has transformed society and the very nature of how we live, work, and communicate in ways that would’ve been incomprehensible 5 ye…
Without even knowing it, most of us are using web applications on a daily basis.  In fact, Gmail and Yahoo email, Twitter, Facebook, and eBay are used by most of us daily—and they are web applications. We generally confuse these web applications to…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.
Suggested Courses
Course of the Month10 days, 2 hours left to enroll

571 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question