How To Change Meta Description On Specific Pages
Nov 24, 2010
I want to know if there is way to change meta description on specific pages, but to keep the meta data from the master page for the pages where I haven't specified any info.
I am trying this approach:
[code]....
Which adds the description tag properly, but I want in same time to remove/disable the meta tag from the master page. Is that possible?
View 1 Replies
Similar Messages:
Feb 10, 2011
create db driven meta keywords/description. I would store these records in a database, xml format i presume; since it would be per culture.How would i go about doing this?
View 4 Replies
Jul 22, 2010
what is best tutorial to implement dynamic title, meta keywords and description in a mvc2 application.
View 1 Replies
Mar 19, 2010
i could not able to include the meta tag for description and keyword, set to unique on all the pages.
View 1 Replies
May 24, 2013
i have seen your article to display value in title and keyword tag from database. then i want to know to display value in META Description tag from database .
View 1 Replies
Jun 16, 2015
I want to include meta tag keyword and meta tag description of my website from database for each products in masterpage of my asp.net website.
View 1 Replies
Jun 6, 2012
In my website i have some users these users have their own page that they can put their product on it.
their page name is Store.aspx
and i have users table i want my users insert their keyword in DB after that thier keyword fetch to meta tag i want all my users have differrent mete tag in their page how i can do it ?
this is my users table
Id
Name
Tell
Keyword1
Keyword2
Keyword3
View 1 Replies
Jun 8, 2012
I use these code to show keyword from my data base in metatag
SqlCommand _cmd = new SqlCommand("select Keyword1,Keyword2,Keyword3 from House_info", _cn);
_cn.Open();
SqlDataReader _dr = _cmd.ExecuteReader();
while (_dr.Read())
[Code].....
in my page meta tag show above keyword not my keywords from database
View 1 Replies
Feb 15, 2011
I know it is possible to add custom headers via the httpProtocol >>customHeaders section of the web.config for 2.0+ sites but this is not allowed on 1.1. Is there an easy way to add meta tags to all pages of a site? I've already tried the httpHeaders tab in iis(6) but with no luck.
I need to force ie7 mode on ie8 for all pages of my 1.1 sites.
View 1 Replies
Jun 1, 2010
I have a bit of code on one of my pages (note, I'm not the original developer nor an asp.net programmer) that looks like this:
<meta id="metaDescription" runat="server" name="description" content="SEE CODE BEHIND" />
<meta id="metaKeywords" runat="server" name="keywords" content="SEE CODE BEHIND" />
The placement of the "id" element is interfering with sites that scrape the meta data resulting in it not being located on the page, so what I want to do is more the "name" element directly after <meta> and before the "id" element
View 1 Replies
May 7, 2010
i want to change the meta tag or insert some text to it when page is up
View 1 Replies
Jan 30, 2011
<asp:FormView ID="FormView1" runat="server" DataKeyNames="productnum"
DataSourceID="EDS_Product">
<ItemTemplate>
<div class="ContentHead"><%# Eval("name") %></div><br />
<table border="0">
<tr><td style="vertical-align: top;">
<img src='images/big/<%# Eval("image") %>' border="0" alt='<%# Eval("name") %>' /></td>
<td style="vertical-align: top"><%# Eval("description") %>
<br /><br /><br /></td></tr></table>
<span class="price"><b>Your Price:</b> <%# Eval("price", "{0:c}")%><br /><span class="number"><b>Number:</b> <%# Eval("number") %>
</span><br /><a href='AddToCart.aspx?productnum=<%# Eval("productnum") %>'>
<span class="ProductListItem"><b>Add To Cart<b></font></span></a>
</ItemTemplate>
</asp:FormView
this is from the product details page and the description goes in a straight line always - i want to make the description a box and have lenght of 30 characters every line -- i want to modify the description not to be in a straight line
View 3 Replies
Oct 16, 2012
I am using the mataloactor of Google. I want to change placemark of meta locator. How i will do it.
View 1 Replies
Feb 15, 2010
I have a simple site [URL]that I setup for my parents and other family member to share recipes on. The issue I have is that when I try to incorporate a google search the header is always RECIPE form from the dynamically driven site.
If page requested is [URL] in a SEO return I want it to have the title of the recipe to be Apple Sour Cream Crumble Pie not RECIPE FORM or RECIPE PRINT FULL FORM
How can I get this changed and also have metadata dynamically created to improve SEO returns?
View 1 Replies
Oct 17, 2010
how can i add title and meta tags for content pages in a project base on master and content page(dinamically) ?
i used the blow method for master page :
[code]....
and the error is :(in line *)
Error 17 'System.Web.UI.MasterPage' does not contain a definition for 'SetMetaTags' and no extension method 'SetMetaTags' accepting a first argument of type 'System.Web.UI.MasterPage' could be found (are you missing a using directive or an assembly reference?)
View 3 Replies
Dec 6, 2010
How to extract specific pages in pdf using itextsharp?Suppose i have 16 pages of pdf i want to extract page number 2,8,16 from that 16pages.
View 1 Replies
Mar 24, 2010
I'm no programmer. I am a student majoring in Business Information Systems. My capstone course requires me to develop a web-enabled database that will allow a company to track their projects. I have set it up this far using the 3.5 dynamic data page. My database is fine, however I need to set it up so that Admins can view the entire site and have the ability to edit, view, and delete items, and where users can only edit projects that they are assigned. Is what I'm looking to do possible?
View 4 Replies
Mar 12, 2010
I have a site that features some pages which do not require any post-back functionality. They simply display static HTML and don't even have any associated code. However, since the Master Page has a <form runat="server"> tag which wraps all ContentPlaceHolders, the resulting HTML always contains the ViewState field, i.e:
<input
type="hidden"
id="__VIEWSTATE"
value="/wEPDwUKMjEwNDQyMTMxM2Rk0XhpfvawD3g+fsmZqmeRoPnb9kI="
/>
EDIT: I tried both variants of setting EnableViewState on page level with no luck at all:
<%@ Page Language="C#" EnableViewState="false" %>
<%@ Page Language="C#" EnableViewState="true" %>
I realize, that when decrypted, this value of the input field corresponds to the <form> tag which I cannot remove because it is on my master page. However, I would still like to remove the ViewState field for pages that only display static HTML. Is it possible?
View 6 Replies
Nov 1, 2010
I have a website that has many pages. Half of the pages need to redirect a user to a specific page. The other half DO NOT need to redirect a user. How can I mark a page as needing / not needing redirection without going into each Page_Load and manually writing my code. I was thinking about creating a MasterPage and creating a virtual property called NeedsRedirection and overriding it in the webpages, but I soon realized that the webpages still do not INHERIT from the master page. Any other suggestions as how to mark a page as needing redirection? Can I do this in the markup to make it easy?
View 1 Replies
Feb 15, 2010
I want to use the login component with forms authentication, but i don't want to use the whole package. I have a database with users in it, and i create the users manually, through another section of my site. I will authenticate them using my own functions, in the Authenticate event.
But, specifying the forms authentication in web.config, i seem to recall having seen somewhere, that i could add pages that were protected, while the rest of the site wasn't.
How do i do this? Currently, i have only 1 page that i want to protect.
View 2 Replies
Feb 28, 2011
I have in my database the News Table which consist of => Id, Title, txt . I need to be able to get a description text from the whole text which exist in txt Field , but without any codes like <...> , just a pure text !! how can I do this?
View 3 Replies
Mar 12, 2010
I'm currently using ASP.NET MVC 2 and the spark view engine. The main master page (application.spark) contains all of the CSS link tags that need to be present for all pages (global stuff). However, I have some content pages that have page specific CSS tags and currently I'm just sticking the link tag in the body as something like:
<content name="MainContent">
<!-- page specific csss -->
<link rel="stylesheet" href="/Content/css/page_specific.css" />
My problem is that when the page renders, this tag ends up in the which is not where it needs to be. Is there a solution for this?
I had was to check the controller in the Application.spark page and write out which page specific css file is required for that particular controller, however, that solution doesn't seem to scale well and I would imagine there is some way of creating the link in the child page and having it render where it's supposed to by the browser.
View 1 Replies
Jan 13, 2010
I have this jqGrid
[Code]....
When the rows are not in edit mode the fifth columns shows a link and while editing it shows a dropdown. To select the correct item in the dropdown I use the second column that has the ID that came from the database.
The problem is that after changing the item and saving it to the database, this column value doesn't change. How can I do it after the grid.saveRow(lastSelection, false); ?
View 1 Replies
Feb 22, 2011
how to change a specific Picture on ohver at menuItem in menu control the code is like this
<asp:Menu ID="NavigationMenu" runat="server" CssClass="menu"
EnableViewState="False" IncludeStyleBlock="False">
<Items>
<asp:MenuItem NavigateUrl="~/Homepage.aspx" ImageUrl="~/images/ONE.png" ></asp:MenuItem>
<asp:MenuItem NavigateUrl="~/AboutUs.aspx" ImageUrl="~/images/SOME.png"></asp:MenuItem>
<asp:MenuItem NavigateUrl="~/ContactUs.aspx" ImageUrl="~/images/MENU.png"></asp:MenuItem>
</Items>
</asp:Menu>
View 1 Replies
Feb 22, 2011
The app_offline.htm file that ASP.NET serves returns the http status 503. This is the correct behavior for most situations. However, in the scenario where a specific URL is requested (e.g. [URL]), I'd like to change the returned http status to 200, while still returning http status 503 in all other situations. Is this possible?
The reason why I want to do this is whenever we do scheduled maintenance on our website, we use the app_offline.htm file, but we don't want our uptime monitoring service [URL] to report downtime during our scheduled maintenance.
I assume this would have to be at the IIS level because the app_offline.htm gets served very early on in the request processing cycle.
View 6 Replies