Hello,
I'm trying to understand how I can edit seperate keywords for the content pages that use a master page.
thanks for the help!
ps: page for which i need help with: magazine
Hello,
I'm trying to understand how I can edit seperate keywords for the content pages that use a master page.
thanks for the help!
ps: page for which i need help with: magazine
meta keywords on content page
Lars Brange
Hi,
I'm sorry that happened. I want you to get an appropriate resolution to this issue, so if after transfer things don't work out please come back here and I will work with you offline.
Cheers,
David
cybrenergy
Hi Andrea,
I don't see that you are using the Team Test features here, so I suspect your post would be best directed to an ASP.Net forum. Does that sound right
I can move the post for you, if that is ok. :)
Cheers,
David
Fox Charlie
hi,
thanks for the tip, I did post my message in two other forums the other day, but got an msn alert saying the a moderator deleted them (even got a rather nasty email asking me to stop crossing post).
It would be great if you could transfert my post to a more appropriate forum.
Thank you so much for the help.
Andrea
magazine
duck thing
Hello everyone,
I don't seems to be getting much luck with an asnswer regarding this matter.
If anyone could advise if the code below is correct
Magazine master1 exemple : www.novasta.com/magazine/accueil.aspx
Magazine master2 exemple : www.novasta.com/fr/boutique.aspx
<
script runat="server"> Dim meta As New HtmlMeta Dim meta1 As New HtmlMeta Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Loadmeta.ID =
"keywords"meta.Name =
"keywords"meta.Content =
"novasta, magazine, gratuit, internet, musique, tv, video, boutique, guide tv, france"Page.Header.Controls.AddAt(0, meta)
meta1.ID =
"content"meta1.Name =
"content"meta1.Content =
"Bienvenue sur le site de Novasta Magazine, le meilleur magazine gratuit du net. Toutes les infos sur la musique, les videos, le cinema, les progammes tv et bien plus encore. La boutique en ligne securisee vos propose des centaine d'articles au meilleurs prix"Page.Header.Controls.AddAt(1, meta1)
End Sub</
script>MagedSalah
Hey, thanks for reply,
basicly i'm using the team suite edition of Visual Studio to create a magazine i am using master pages to keep the same style on all my aspx pages. The only problem that I found is that aspx pages do not have a <head> where i can place the meta keywords for each pages. I am using 2 different master pages, one for all the content pages on the site and another for the "boutique" area. Obviously, for SEO reason, i wish that each individual pages have there own keywords and content rather than using the ones set for the master page.
Magazine master1 exemple : www.novasta.com/magazine/accueil.aspx
Magazine master2 exemple : www.novasta.com/fr/boutique.aspx
After searching the forums and the help section, i came up with the following solution. On top of each aspx pages, I added the following code however, I am not sure that this is correct.
<
script runat="server"> Dim meta As New HtmlMeta Dim meta1 As New HtmlMeta Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Loadmeta.ID =
"keywords"meta.Name =
"keywords"meta.Content =
"novasta, magazine, gratuit, internet, musique, tv, video, boutique, guide tv, france"Page.Header.Controls.AddAt(0, meta)
meta1.ID =
"content"meta1.Name =
"content"meta1.Content =
"Bienvenue sur le site de Novasta Magazine, le meilleur magazine gratuit du net. Toutes les infos sur la musique, les videos, le cinema, les progammes tv et bien plus encore. La boutique en ligne securisee vos propose des centaine d'articles au meilleurs prix"Page.Header.Controls.AddAt(1, meta1)
End Sub</
script>The Naked Programmer
Hi Andrea_uk,
Can you provide a detailed scenario of this I'm not sure what you are referring to. :)
Cheers,
David
Ariel Valentin
I relialize that you've tried posting this in several locations, but if you haven't already posted at http://forums.asp.net/ I would recommend that. This forum focuses on web services and xml serialization and as such may not have as much asp.net-specific expertise as you need.
hope this helps..
Thanks
Alex