Friday, May 17, 2013

Permalinks in WordPress

Permalinks in WordPress

Sometimes you will receive 404 errors in WordPress which may be due to permalink settings

go into your WP admin area and click on settings > permalinks > save changes

Permalinks control the URL’s that WordPress generates, by default it uses “ugly” urls, so the URL to a post would be domain.com/?p=123 But with permalinks you can turn the links into something more readable

So on the permalink page, check “custom structure” and then put this in the box:

/%postname%/

And then save changes

Now on publishing a new post, the link on browser will be the name of the post instead of ugly url

For example :

domain.com/?p=123 would be replaced domain.com/Name_of_post

By default postnames appear in browser, but if the setting is lost, we can follow the steps above

No comments:

Post a Comment