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

New WordPress Theme, Issue with Permalink Settings

Hello, I am building a WordPress theme for my site and when I have the Permalink Settings to default I am able to access the pages I have on my site through the typical page.php template. However, when I change the settings to post name I get a 404 error when I try to arrive at any of those pages. Was hoping someone could shed some light.

Thanks

2 Answers

Chris Shaw
Chris Shaw
26,676 Points

Hi Chris,

Do you have the rewrite module enabled in Apache? Is you do check your Apache error log for clues as to why the rewrite rule isn't working.

Hi Chris Yes the rewrite module is enabled. Still trying to figure this out