Universal pager in <header>

merav tg asked on May 3, 2016 08:53

Hello,

Is there a way to add the Universal Pager Web part in the header tag (for SEO purpose)?

I thought maybe I could define a header zone in the page layout in order to add the web part into it but I'm not sure if possible and whether it's considered as best practice in Kentico.

What do you guys think?

All the best,

Correct Answer

Jan Hermann answered on May 3, 2016 08:57

Each web part has the Content before / after properties where you can wrap the code it generates to any HTML markup you need. So please add the header tag there.

0 votesVote for this answer Unmark Correct answer

Recent Answers


merav tg answered on May 3, 2016 09:36

I will have then have 2 header tags on the same page (The actual header and the pager). Is this OK to do this? (from an SEO/Best practice perspective)

Thanks for the quick answer! :)

0 votesVote for this answer Mark as a Correct answer

Jan Hermann answered on May 3, 2016 10:31 (last edited on May 3, 2016 13:01)

Why don't you move the pager to the first header? Anyway, you can have two headers according to this SO:

http://stackoverflow.com/questions/4837269/html5-using-header-or-footer-tag-twice

0 votesVote for this answer Mark as a Correct answer

Chetan Sharma answered on May 3, 2016 11:46

Hi Merav,

Depends upon which header tag you are talking about. It's okay to have multiple H2 tags but not multiple H1 tags.

Thanks, Chetan

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.