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 How to Build a WordPress Theme WordPress Theme Functions The WordPress Loop

Blog Page = 404 Not Found when using Permalinks

Never mind - I fixed it. It was an .htaccess problem. :)

Hi Cecily, glad you found your answer thats awesome!

I know some other students might be interested to know what the problem was in detail and a brief outline of how you fixed it in your .htaccess file

Share the knowledge and all that jazz :)

1 Answer

Diego Fontenelle
Diego Fontenelle
4,199 Points

Well I had the same problem and what I had to do in order to get it fixed was to create an .htaccess file in my htdocs folder and put the following instructions inside it:

< IfModule mod_rewrite.c> RewriteEngine On RewriteBase /wp-teste/ RewriteRule ^index.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /wp-teste/index.php [L] </ IfModule>

These instructions are provided by WordPress in the Settings -> Permalinks in the very bottom of the page.