Craig Simpson

Web developer from Moray, Scotland

WordPress Plugin: Simple Search Rewrite

22nd December 2015

No Comments

I released another super-simple plugin at the weekend which converts the standard WordPress search query URL into a ‘pretty-permalink’ style.

Until now I have been including the code to do this inside a core functionality plugin, or within theme files, however it makes more sense to split this code out into small, focused plugins which can be switched on and off easily.

Before using this plugin, when performing a WordPress search your URL will end up like:

http://craigsimpson.scot/?s=query%20terms

With my Simple Search Rewrite plugin activated, this will be converted to:

http://craigsimpson.scot/search/query+terms/

While this isn’t exactly an earth-shattering advancement in the plugin world, it’s a simple and useful feature which I will use on most (if not all) of my WordPress projects.

If you’d like to offer any feedback, or if you use the plugin and find an issue, the code is freely available on Github, or you can ask for support on the WordPress Plugin Repository.

Leave a Reply

Your email address will not be published. Required fields are marked *

Get in touch if you would like support on any of my products. I'm available on weekdays and will reply within 24 hours.

Spinning loader icon

Your message was sent. I'll get back to you as soon as possible.

Dismiss

There was problem sending your message. Please check your submission and try again.

Dismiss

Open support form