Home   About   Popular   Archives   Advertise   PhotoBlog   GuestBlogging   Contact   Feed readers

Customize & Change Permalinks in Wordpress

March 19th, 2006 | Filed under Blogging, Tips, WordPress.
ADVERTISEMENTS

If you are a new starter with Wordpress, you have the ability to fix the permalink structure of your urls as per your choice. Once your links are linked back by thousands of websites and indexed by search engines, it is difficult to change your permalink structure as it will lead to all broken 404 links.

Wordpress provides a very user frinedly way to customize your permalinks easily. Just in case you did not know, permalinks means the permanent url of your post. Wordpress codex has an excellent article on Using Permalinks.

You can change your entire blog permalink structure with one click only. It is a powerful tool, use it carefully. After you login to Wordpress, go to Options, then Permalinks. There you can choose

Default
http://www.sitename.com/?p=123

Date and name based
http://www.sitename.com/2006/03/18/sample-post/

Numeric
http://www.sitename.com/archives/123

And the powerful way is to customise it as per your liking too. What I am using is
/%year%/%monthnum%/%postname%/
I removed the day part of the code in my custom permalink, more in line with what Blogger does. You can also include hours, minutes and seconds into your post url. Amazing!

I was tempted to remove the date part all together and just add postname, such that I could have neat urls like http://www.sitename.com/postname but they warn that

If you use postname as the only element in your permalinks to create a structure such as myblog.com/post-title, the rewrite rules may make it impossible to access pages such as your stylesheet (which has a similar format) or the wp-admin folder. It’s best to include some numeric data (e.g. the post ID or date) in the permalink to prevent this from happening.

On the codex page I pointed above, you can try many more advanced permalink tricks with .htaccess, mode_rewrite etc., but be very careful with what you do. This is a powerful tool and can change the entire url struture with one click only. So it is a good idea to fix your permalink strucutre when you start with Wordpress.

Tell a Friend | Stumble It | Bookmark on Delicious | Digg it

Related Articles
» Free bbPress Forums with Slug Based Permalinks
» 10 Easy Ways to Find Permalinks of Blog Articles
» How to Customize the WordPress Login Screen
» Edit Feed-rss2.php to Customize Feeds in Wordpress
» Power Plugin to Customize Kontera Ad Links

Subscribe new articles by RSSRSS feed or by Email

Comments

  • Jeremy | 15/04/06  #

    What about the links within individual legacy posts? Are they changed as well? I reference other posts from within by posts a lot, and the permanlink structure is part of the content. Do I still have to manually adjust that, post by post?

  • Ed | 29/07/06  #

    Great info, i got in my blog the date and info permalink.

  • Lucas | 18/08/06  #

    Hello,

    I am getting an error that is simply confusing me a little bit…

    Not Found
    The requested URL /our-standards/ was not found on this server.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

    Any ideas where i am going wrong with this? Talk soon

    Luc

  • louie | 5/12/07  #

    I am having problems with my comments after changing the permalink structure. Do you have any idea how to fix this?

Comment on “Customize & Change Permalinks in Wordpress”