diff --git a/views/posts/show.ejs b/views/posts/show.ejs
index 303f2020129e27c1686964b31e3fb02a2c84d696..0af19aa97090e8133c417e4d5ee6ca4cc6d798b3 100644
--- a/views/posts/show.ejs
+++ b/views/posts/show.ejs
@@ -14,5 +14,5 @@
       <p class="card-text"><%= post.content %></p>
     </div>
   </article>
-  <a href="/posts" class="btn btn-secondary mt-3"><i class="bi bi-arrow-left"></i> Back to all posts</a>
+  <a href="/index" class="btn btn-secondary mt-3"><i class="bi bi-arrow-left"></i> Back to all posts</a>
 </div>