Add `noindex` meta tag and `rel=canonical` link to redirect interstitials (#30651)
parent
978601a0ae
commit
921b0db544
|
@ -1,3 +1,7 @@
|
||||||
|
- content_for :header_tags do
|
||||||
|
%meta{ name: 'robots', content: 'noindex, noarchive' }/
|
||||||
|
%link{ rel: 'canonical', href: @redirect_path }
|
||||||
|
|
||||||
.redirect
|
.redirect
|
||||||
.redirect__logo
|
.redirect__logo
|
||||||
= link_to render_logo, root_path
|
= link_to render_logo, root_path
|
||||||
|
|
Loading…
Reference in New Issue