Customize URL for items

In Omeka exhibit mode, the URL of item is show in the format similar to /items/show/123, where 123 is the Omeka item id. for example.

As for my case, each item has its own id field, eg. record=B123456X.

How can I customize the URL of the items in exhibit, such that the URL shows "http://mysite.com/record/B123456X" instead of "http://mysite.com/items/show/123"? Any way to redirect or rewrite the URL to the format I want when displaying the item page?

You'd have to write a plugin to do this.

A plugin could create a new route which will allow your "record/" URLs to point to the correct items.

Changing the URL that ExhibitBuilder uses to link to your items would be a little more involved, though.

If you're interested in trying to write a plugin, try posting on the developer listserv.