asp.net - Webforms routing - how to create and manage canonical links -


i use webforms routing - it's slighly custom flavour additional datatokens, i'm not adverse making changes.

however, i've been thinking how can create canonical links.

at moment, populate canonical link current (correctly formatted) url, i'm unsure how extend functionality use canonical variants.

for example:

home page: www.mysite.com , www.mysite.com/home inner page: www.mysite.com/widgets , www.mysite.com/info-hub/widgets

the first example pretty easy code - add datatoken canonical url - second example more tricky.

how apply params canonical string - there must process normal route creation - can access it, called , how work?

any answers above questions, allow me progress useful.


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -