I am using `\newcommand{\Index}[1]{#1\index{#1}}` to add my index entries. However, I am not sure how I can have something like `\Index{\href{index entry}{http://www.blahblah.com}}` and `\Index{\href{index entry2}{http://www.blahblah2.com}}` etc.
• `\protect\href{....}` – user31729 Oct 30 '15 at 11:24
It's necessary to use `\protect\href{}` and most of the `hyperref` macros in conjunction with `\index`, e.g. like in this answer of mine here: