robots.txt: fix hardcoded paths.

This commit is contained in:
evazion
2021-01-01 20:02:01 -06:00
parent 36f95891bd
commit 48676789f0

View File

@@ -6,25 +6,29 @@ Allow: /$
Disallow: /*.atom Disallow: /*.atom
Disallow: /*.json Disallow: /*.json
Allow: /artists Allow: <%= artists_path %>
Allow: /artist_commentaries Allow: <%= artist_commentaries_path %>
Allow: /comments Allow: <%= comments_path %>
Allow: /explore Allow: <%= popular_explore_posts_path %>
Allow: /favorite_groups Allow: <%= curated_explore_posts_path %>
Allow: /forum_posts Allow: <%= viewed_explore_posts_path %>
Allow: /forum_topics Allow: <%= searches_explore_posts_path %>
Allow: /iqdb_queries Allow: <%= missed_searches_explore_posts_path %>
Allow: /login Allow: <%= favorite_groups_path %>
Allow: /notes Allow: <%= forum_posts_path %>
Allow: /pools Allow: <%= forum_topics_path %>
Allow: /posts Allow: <%= iqdb_queries_path %>
Allow: /sessions Allow: <%= login_path %>
Allow: /static Allow: <%= notes_path %>
Allow: /tags Allow: <%= pools_path %>
Allow: /uploads Allow: <%= posts_path %>
Allow: /user_upgrade Allow: <%= new_session_path %>
Allow: /users Allow: <%= sign_out_session_path %>
Allow: /wiki_pages Allow: <%= tags_path %>
Allow: <%= uploads_path %>
Allow: <%= user_upgrades_path %>
Allow: <%= users_path %>
Allow: <%= wiki_pages_path %>
<%# Legacy redirects %> <%# Legacy redirects %>
Allow: /artist Allow: /artist