How to beautify your WordPress URL

by drizad on June 17, 2007

I’ve found a way to beautify our WordPress URL from this:

http://www.mount-kinabalu-borneo.com/blog/2007/03/02/this-is-the-title/

or even this:

http://www.mount-kinabalu-borneo.com/blog/2007/03/02/?p=12345

to this:

http://www.mount-kinabalu-borneo.com/blog/this-is-the-title.html

Why?

  1. Make your URL more visitor friendly and more ‘natural looking’.
  2. Search engine optimized.

What do you need?

  1. A WordPress plugin, Permalink Redirect WordPress Plugin by fucoder.com.
  2. Make sure your .htaccess on your root directory is writable.

How?

  1. Download the php or zip file from fucoder.com.
  2. Upload `ylsy_permalink_redirect.php` to the `/wp-content/plugins/` directory.
  3. Activate the plugin through the ‘Plugins’ menu in WordPress
  4. Select Option>Permalink and change your present permalink to custom: /%postname%.html
  5. Save and select Permalink Redirect to manage your new URL.
  6. Put your old permalink structure e.g. mine was /%year%/%monthnum%/%day%/%postname%/
  7. If you have Feedburner, put the link inside also.
  8. Tick ‘Hostname Redirect’. It will make sure that your old permalink do not show “Error Page 404″ to your visitors.

Readers who viewed this page, also viewed:

{ 5 comments… read them below or add one }

1 Jimmy 06.24.07 at 7:08 pm

how to do a normal permalink?

2 drizad 06.24.07 at 8:09 pm
3 Jimmy 06.24.07 at 8:15 pm

if you go to my site..you can see my article title is tag by no. how can i do as below withought using widget
http://www.mount-kinabalu-borneo.com/blog/2007/03/02/?p=12345

to this:

http://www.mount-kinabalu-borneo.com/blog/this-is-the-title.html

4 drizad 06.24.07 at 8:25 pm

Oh, try to go to Options>Permalink from your Admin interface. you should see the “Customize Permalink Structure”.

Change from the existing permalink (i.e. by default it’s numbers for your link) to “Custom, specify below”.

Put /%postname%.html

Is it working?

You still need to download the “Permalink Redirect” plugin (not widget), and activate it. Otherwise, your old link will end up on 404 page.

5 coffee machine 03.21.10 at 2:15 am

Good day from Italy! May i quote a post within your blog with the link to you? I’ve tried contacting you regarding this problem however it seems i cant reach you, please reply when get a time, thanks.

Leave a Comment

You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

*