vodkabears / Remodal

No longer actively maintained.
http://vodkabears.github.io/remodal/
MIT License
2.75k stars 771 forks source link

Crawlable anchors #186

Closed ursbraem closed 8 years ago

ursbraem commented 8 years ago

I would like Google to index all those nice remodals individually by their anchor.

According to https://support.google.com/webmasters/answer/174992?hl=en, the starting point seems to get a "hashbang" into the URL. mysite.com/#!myanchor. I've tried simply adding that to the code, like <a href="#!myanchor"> and data-remodal-id="!myanchor", but that wouldn't work out of the box. Neither using %21 instead of !.

Not sure if the entire operation makes sense though! What's your opinion on this?

vodkabears commented 8 years ago

It is absolutely easy to fix.

ursbraem commented 8 years ago

You are too good. Thank you very much!