Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

PHP

Ed white
Ed white
13,291 Points

bug in code challenge- php rewrite rules trailing slash

I'm on the trailing slash code challenge ... I couldnt get it to pass.. so i searched in the forums and found that i was using the same answer that other people have posted.. but it won't accept it.. I'm using this as the answer and it won't pass.. i've tried refreshing the browser etc.. something wrong with the challenge?

RewriteEngine On
RewriteRule ^flavors/$ /all_flavors.php

RewriteRule ^flavors$ /flavors/ [R=301]

Me too. I looked at it until I was cross-eyed. I have the exact same code, but it won't accept it.

2 Answers

Tommy Morgan
STAFF
Tommy Morgan
Treehouse Guest Teacher

Hey Ed white -

Try again if you would - looks like we had an issue with the code challenge engine, which should be fixed now :)

Thanks! Now it's working!

Ed white
Ed white
13,291 Points

yeeaappp... thx