Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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