Wrox Programmer Forums
|
BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6
This is the forum to discuss the Wrox book ASP.NET 2.0 Instant Results by Imar Spaanjaars, Paul Wilton, Shawn Livermore; ISBN: 9780471749516
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 24th, 2007, 06:53 PM
Registered User
 
Join Date: Feb 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Customer Support Site Master Pg. Meta Tags

I am trying to utilize the dynamically generated Meta tag functionality by passing in specific keywords and descriptions based upon which aspx page may be selected. Ex. for the products page you may send specific keywords that relate to a specific product. However each page's keyword would change based upon what may be selected from within that page.

Also would search engines pick up this type of dynamic keyword logic.
Thank you, Tag
 
Old February 24th, 2007, 08:15 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi taggiese,

I am not sure I understand your post. Are you asking a question? Or merely making a statement?

Imar
---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
Want to be my colleague? Then check out this post.
 
Old February 25th, 2007, 06:08 PM
Registered User
 
Join Date: Feb 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yes, I am asking a question on how you would pass the keyword and description to the master page based upon which page or product you would select?

My second question would search engines pick up these meta tags?

 
Old February 26th, 2007, 02:58 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

I still don't understand exactly what you're asking. Each page can access the keywords and description in the application like this:

Me.Master.Keywords = "My Key Words"

This is shown in the page ProductDetails.aspx under ContentFiles.

When you set the keywords on the master, they eventually end up in the final HTML in the browser. So, yes, they do get picked up by search engines because they are part of the HTML.

However, if you have a dynamic page where users have to select something (e.g. trigger a post back based on, say, an item in a drop down list) search engines won't be able to follow the page, and so they'll never see the keywords.

Does this help?

If not, can you describe in much more detail what it is that you need?

Imar
---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
Want to be my colleague? Then check out this post.
 
Old February 26th, 2007, 11:35 PM
Registered User
 
Join Date: Feb 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yes, you answered my question. I had not seen the productdetails code execute and I now see where you set the meta tag based upon the selection.

I have been looking for a solution like this to accommodate variance with states and a keyword. Thank you for your time.
Tag






Similar Threads
Thread Thread Starter Forum Replies Last Post
Customer Support - Can't delete anything mfoof BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 21 June 24th, 2009 04:00 PM
meta tags ferlach HTML Code Clinic 5 June 5th, 2007 04:17 PM
Customer Support overdos2 BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 5 November 30th, 2006 04:54 PM
META tags and master pages thenoseknows ASP.NET 2.0 Professional 1 October 9th, 2006 01:02 PM
Customer Support - Adding Second Level Category mfoof BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 3 July 4th, 2006 12:22 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.