0

I used this example to create an RSS feed in Craft, saved it as “feed.rss”, uploaded it into the “craft/templates” directory. When I go to www.my-website.com/rss, I get a 404.

What am I missing here? Any help is highly appretiated.

Thanks!

1 Answer 1

1

You have named the file feed.rss, and you are trying to access it by going to /rss. So I can see two issues here:

  • The template file needs to be either .html or .twig, as per the tutorial you have referenced
  • The name of the template file will dictate the URL for that template. If you re-name your template file to feed.twig, you access that template by going to /feed
0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.