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

Links to shirt detail pages work on shirts page, but do not work on homepage.

When I click on the shirt, from the shirts page, the shirt detail page works fine. However, when I click on the link from the homepage, I recieve this error message:

The requested URL /shirts4mike/108/ was not found on this server.

I have my entire site housed in the subfolder "shirts4mike", but it seems to be omitting the "shirts" folder in the link. Any ideas?

Thanks, Dre

2 Answers

Could you please post your code?

Thanks for the reply Carman, managed to figure it out on my own. Just created another function in the end.

Ok :)