Is there a way to redirect .atom pages?

New Member
1 0 0

I'm looking to redirect an atom feed created from the blog page, this is the slug: /fr/blogs/news.atom/. I tried through the redirects inside of Shopify but it doesn't work and I tried adding the following code but it didn't work either.

{% if page.url == '/fr/blogs/news.atom/' %}
<!-- Redirect for FR blog -->
<meta http-equiv="refresh" content="1; URL=" />
<script type="text/javascript">
window.location.href = ""
{% endif %}


Is there a way to redirect Atom pages?