Releases: irapidchris-del/permalinks-for-hivepress
Release list
v1.1.1
= 1.1.1 =
- Fixed: updating two of these extensions one after the other could fail on the second with "up to date" until Check for updates was pressed again. WordPress rebuilds its update list after each update by asking wordpress.org first, and gives up on the whole list when that call is slow; the plugin now keeps its own update in the list regardless.
- Changed: a release found more than an hour ago is refreshed in the background whenever the Plugins screen is opened, so the newest release is offered rather than an intermediate one.
- New: a Check for updates bulk action on the Plugins screen, which checks every selected extension in one go, and the row that says Updating no longer shrinks on phones.
v1.1.0
New
-
Blog posts in a folder of their own - a new option gives ordinary WordPress posts an address such as
/blog/my-post/, while every HivePress address stays exactly where it is. You choose the folder name, sonewsorarticleswork just as well. -
Old post addresses are redirected. Whatever your posts were reachable at before you switched this on is permanently redirected to the new address, so shared links and indexed pages do not break.
Why this is an option rather than something you set yourself
Setting the permalink structure at the top of the Permalinks page to /blog/%postname%/ looks like the obvious way to do this, but WordPress then treats /blog/ as the whole site's prefix and puts it in front of your listings, vendors, categories and tags as well. The usual remedy is to strip that prefix back off every HivePress object, which is more to maintain, cannot know about whatever registers the next post type, and can leave the prefix on ordinary pages. HivePress's own advice, on the community topic where both approaches were compared side by side, was to add the folder to posts only. That is what this option does.
Not included, and why
Removing the base from listing addresses entirely - /bikes/london/my-listing/ rather than /listing/bikes/london/my-listing/ - was built alongside this and then withdrawn. WordPress merges custom post type rules ahead of its page rules, so a base-less rule is tested before your pages are, and pinning the first segment to real category slugs was not enough to make that safe in testing. It is better to leave it out than to ship something that can quietly stop a page from opening.
v1.0.0
First release.
Permalinks for HivePress puts the category and the region into the web addresses of your listings, vendor profiles and requests, so /listing/my-listing/ can become /listing/bikes/london/my-listing/.
What it does
- A new HivePress URLs section on Settings, Permalinks, with a menu for each type of content on your site. Pick the category, the region, or both in either order; every choice shows an example address beside it.
- Works for listings, vendor profiles and requests, and picks up any future HivePress content type by itself.
- Region segments come from the official HivePress Geolocation extension. They appear as soon as regions are switched on and disappear again if you switch the extension off, with the addresses rebuilding themselves either way.
- Spell out nested terms in full to get country, state and city addresses such as
/listing/united-kingdom/england/london/my-listing/. - Uses whichever base you have set on the Permalinks page, so a site using
adsor a theme that usesjobis followed automatically. - An option to keep HivePress addresses at the top level, for sites whose permalink structure has a prefix such as
/blog/.
Old addresses keep working
Anything arriving on an old address, an address holding an out-of-date category or region, or the address an object had before it was renamed, is sent to the current address with a permanent redirect. Renaming a listing does not break the links you have already shared or the pages search engines have already indexed.
Notes
- Your settings are kept if you delete the plugin, unless you tick the box asking for them to be removed.
- Objects with no category or region use
/other/in that part of the address, so an address is never left with an empty gap in it. - Your category and region archive addresses are not changed.