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

WordPress

Permalink problem in The WordPress Loop

In How to Build a WordPress Theme, in The WordPress Loop, we're supposed to update the permalinks to use post name (instead of the default showing the ID numbers) -- I did that, but I'm getting a 404 when I try to view the Blog page (or the Home page). If I set it back to the default permalink, it's fine again.

I've tried a clean .htaccess, I've tried adding category and tag base options (read on another forum that could help), I tried clearing out the cache, nothing worked. What am I missing?

Thanks!

1 Answer

Matthew Dilello
Matthew Dilello
6,203 Points

It's most likely due to Apache rewrite_module not on. I ran into the same issue and then enabled the module from WAMP. Look for the settings to enable rewrites in whatever local webserver package your using.

Ah, beautiful -- thanks Matthew -- that was it. (I'm using WAMP, too.)

ricardogutierrez
ricardogutierrez
11,349 Points

Thanks Mathew ... fixed and running again.