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

Question on "More Than Enough Fun With Rewrite Rules" video

@Staff, There's a question in the php Quiz:" More Than Enough Fun With Rewrite Rules"

it deals with handling a rewrite condition for no trailing slash /###

The video that covers it is immediately following the quiz...

Perhaps swapping the order so the video plays before the quiz might be helpful...

Luckily I already new the answer, but for those of you who are new to apache and/ore RewiteRules, and until the quiz/video order is swapped, the answer is "$1"

5 Answers

There's a Code challenge for this immediately following the video. Perhaps removing the question on the quiz preceding the video would be better than swapping the video and quiz order.

James Barnett
James Barnett
39,199 Points

Gordon Jiroux - Maybe the PHP teacher Randy Hoyt has some thoughts on this issue.

Randy Hoyt
STAFF
Randy Hoyt
Treehouse Guest Teacher

Ah, good catch. I'll double-check that and see what makes the most sense. Thanks!

Randy Hoyt
STAFF
Randy Hoyt
Treehouse Guest Teacher

I removed this question from the quiz. Thanks for pointing this out: I got ahead of myself there! :~)

No Problem Randy