I have seen this on a lot of blogs recently, so I think this tip is worth sharing: In WordPress, each post actually exists for Search Engine purposes as a single page. This page has it’s own name which is indexed by Google and the others.

Now you would think this page name would be set to something sensible like the name of the post? No, actually the default is something like:

‘www.YOURBLOG.com/p=4′

Very snappy, but useless for search engines. But very easily fixed.

In your WP admin, go to ‘Options’ then ‘Permalinks’. Select ‘Custom’ and then copy and paste this into the box:

/%postname%/

Then click ‘Update Permalink Structure’. Now your post will be indexed according to the post name, so if you like Google traffic, make it something good! ;-)

NB: If you get the message about your .htaccess file not being writeable, don’t panic. Fire up your FTP program, and find the .htaccess file in your root blog directory. Right click on it and set it’s permissions to 777. Go back to WP admin, update the permalinks as above, then return to your FTP, and re-set the permissions to 644 or whatever it was before.

NB2: The above is intended for very new WordPress users who have little or no posts, and aren’t worried about losing links. If you have an established blog, you risk losing a lot of Google ‘juice’ as many internal and external links will be broken. Fortunately the solution appears to be quite straightforward: Use the Permalinks Migration Plugin. Please note I haven’t tried this, as I changed my permalinks very early on, but it should do the trick.

Thanks to Vinod for raising this issue.