HTTP Discussion Redirects

Redirect discussions to their canonical URL via 301 redirects

Incompatible with Flarum v1.8.5

Latest release 0.1.2

14 downloads

released on Aug 18, 2020

HTTP Discussion Redirects

License Latest Stable Version Total Downloads Donate

This extension redirects non-canonical discussion URLs to their canonical version using HTTP 301 redirects.

This extension has not been tested for subfolder installs and probably doesn't work on such setups!

I'm unsure of the actual SEO benefits of this extension. Flarum already uses the canonical meta tag which should be enough to prevent duplicate content. 301 redirects could help search engines in case of a discussion rename since it would otherwise appear as new content. If anyone can test the actual impact I'll be happy to update this README with some metrics.

There is potential for infinite redirect loops if you rename a discussion back to its previous name and visitor browsers cached the previous redirects!

If you have a views counter extension enabled, two views might be counted when a user follows a redirected URL.

This extension has no settings. 302 redirects are used when debug mode is enabled.

Installation

composer require clarkwinkelmann/flarum-ext-http-discussion-redirects

Support

This extension is under minimal maintenance.

It was developed for a client and released as open-source for the benefit of the community. I might publish simple bugfixes or compatibility updates for free.

You can contact me to sponsor additional features or updates.

Support is offered on a "best effort" basis through the Flarum community thread.

Links

© 2024 Hyn by DaniĆ«l "Luceos" Klabbers. All rights reserved. · Extensions and extension information is provided by the respective (copyright holding) authors. · Extiverse is not affiliated to the Flarum project or Flarum foundation. · Images on Extiverse pages are from Unsplash.