Avatar of rrhandle8
rrhandle8
Flag for United States of America asked on

ASP.NET and canonical links

I have a .net 3.5 web site built with Visual Web Developer 2008.  The SEO person has asked me to add a canoncial link to each page.  Is there someway I can do this with code in the MasterPage.  If not, what would you suggest? VB code please.

Here are some links I have already checked-out.  Unfortunately, the more "checking-out" I am doing, the more "screwed-up" I am getting.

http://www.how-to-asp.net/how-to-canonical-urls-asp-net/
http://guyellisrocks.com/coding/adding-a-canonical-link-element-in-asp-net/
http://www.webcatch.co.uk/blog/index.php/2010/10/21/imrpoving-seo-in-asp-net-applications-by-manipulating-titles-meta-tags-and-canonical-urls/
Web Languages and Standards.NET Programming

Avatar of undefined
Last Comment
Paul MacDonald

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Paul MacDonald

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
rrhandle8

ASKER
Thanks paulmacd.
If this goes in the masterpage, isn't there some way to grab the page name with code?
rrhandle8

ASKER
Question was abandoned.
Paul MacDonald

Sorry [rrhandle8] - I didn't mean to leave you hanging on this!

Did you find an answer to your question about the page name?  It is/should be possible.
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy