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 From Bootstrap to WordPress Setup a Bootstrap Theme Setup Your WordPress Development Environment

Permalinks

Why do we change the settings of how permalinks work after installing WordPress?

I am unable to browse between my posts after changing the permalinks to the setting suggested by the video, but the default value is working just fine. A little lost about why this is so.

What video are you talking about?

7 Answers

Sue Dough
Sue Dough
35,800 Points

Permalinks come ugly as default with WordPress. That is why you have to switch it to Post name. Your site should be 100% fine unless it wasn't coded properly.

I believe it's the first one? I'm talking about the local installation and set up of WordPress.

WordPress Development- how to make website with wordpress right?

When your starting with a new wordpress. Wordpress provides you with their default permailnks, but once you start creating your own the names on the url container on your browser will display "example 1 " or "blog post" something generic. So by going down to settings on your dashboard and selecting permalinks and selecting "Custom Structure" . This will be produce for the url so if you have an about page instead of getting numbers "yourwebsite.com/12343" you will get "yourwebsite.com/about"

The video in question is here; https://teamtreehouse.com/library/from-bootstrap-to-wordpress-theme/setup-a-bootstrap-theme/setup-your-wordpress-development-environment and the change is made at the 1:50 mark.

I understand that, but if I do change the permalink, I get an error when trying to browse within my blog, and the "directory cannot be found." I do not understand why this is the case?

The video just did that type of permalink because he was setting a simple blog with a single post for the time being he will eventually update this when he adds pages. The permalinks can be change in the future but when running on localhost it's wise to do the custom structure that way when you transfer to a server host the permalinks work as they should.

Hope that helps.

The video just did that type of permalink because he was setting a simple blog with a single post for the time being he will eventually update this when he adds pages. The permalinks can be change in the future but when running on localhost it's wise to do the custom structure that way when you transfer to a server host the permalinks work as they should.

Hope that helps.