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 trialWalden Wang
5,657 PointsEnhancing simple PHP app: the rewrite rule problem
Hello, I have an problem by using the rewrite rule for .htaccess.
I follow the tutorial but there's still problem, and I don't know why.
The file path is: htdocs -> Shop
All my files are store in Shop folder, not like the tutorial that in htdocs.
The current problem is: the website can't display well, it seems that there's no style.css. In addition, if I go to index.php (the main shop page), there's an error message appear: Notice: Use of undefined constant BASE_URL - assumed 'BASE_URL' in C:\xampp\htdocs\Shop\inc\products.php on line 8.
What I use: dreamweaver, xampp.
4 Answers
Matthew Evans
1,657 PointsHow?
Curtis Black
6,722 PointsYeah how did you solve the problem?
1v4n
4,584 PointsAny answer?
Walden Wang
5,657 PointsI solve the problem....