Skip to content
This repository has been archived by the owner on Jul 29, 2021. It is now read-only.

Releases: bennothommo/october-plugin-url-normaliser

v1.1.7

12 Feb 03:43
Compare
Choose a tag to compare
  • Fixed an error occurring if a menu item type with no URL (such as the "Header" type) is used in a menu and "Normalise URLs in navigation menus?" is enabled. (thanks to @jeremymouton for the report)
  • Prevented hash-bang URLs from being normalised, so they work as intended. (thanks to @jeremymouton for the report)
  • Fixed an error being thrown if the server name environment variable is unavailable and the url() method is used instead. (thanks to @iboved for the report and fix).

v1.1.6

08 Oct 10:15
8e9eb64
Compare
Choose a tag to compare
  • Prevents the plugin from booting if the database does not exist. This allows Composer to correctly run scripts after October CMS installation if this plugin is added as a dependency but no database configuration has been done.

v1.1.5

09 Sep 06:08
cbffd26
Compare
Choose a tag to compare
  • Maintenance release - removes October as a dependency, as it caused issues with marketplace builds.

v1.1.4

10 Mar 03:07
Compare
Choose a tag to compare

Hotfix to Composer configuration.

v1.1.3

10 Mar 02:47
Compare
Choose a tag to compare

This plugin is now available via Composer. To install, simply require it in your October CMS install:

composer require bennothommo/oc-urlnormaliser-plugin

Note that while the repo uses the october-plugin-url-normaliser name, to follow October CMS conventions, the Composer library uses oc-urlnormaliser-plugin.

v1.1.2

24 Jan 06:32
Compare
Choose a tag to compare

Bug fixes

  • Fix missing index error if the URL path is empty when processing normalisation rules.(#4, 1318bd1)

v1.1.1

20 Oct 15:29
Compare
Choose a tag to compare

Bug fixes

  • Ignore "www." prefix when determining if a URL provided to the Normalise helper class is an external link or not. (da3f5e9)

v1.1.0

20 Oct 14:52
Compare
Choose a tag to compare

New features

  • A new Normalisation helper class has been added, allowing developers to normalise any URL they wish with the current site's URL normalisation settings. (5a84d06) To use, simply make the following call:
$normalisedUrl = \BennoThommo\UrlNormaliser\Classes\Normalise::url('https://example.com/page');
  • URLs provided by a Static Menu can now be normalised via a new checkbox in the URL Normalisation settings area called Normalise URLs in navigation menus?. (dd8340f)

Changes

  • The middleware has now been heavily refactored to use the new Normalisation helper class above. (a4cc0af)

1.0.4

16 Sep 08:16
bbb1562
Compare
Choose a tag to compare
Version 1.0.4 update

1.0.2

20 Jul 08:53
Compare
Choose a tag to compare
  • You can now force HTTPS on your redirects or canonical links. Simply tick Force HTTPS? in your Normalise URLs settings page.