DNNCommunity / DNNCommunity/Dnn.CommunityForums

Remove ShortURL (non-)optional feature

Open
#360 7 comments 0 reactions 2 assignees Claimed by @Timo-Breumelhof View on GitHub
help wanted question
Dominant language
C#
Stars
18
Forks
23
Avg merge
20h 30m
Merged PRs (30d)
19

Description

## Description of task
Forums module has a module setting for SHORTURLS that is not settable from the UI but is always enabled. This setting is evaluated every time a topic url is generated and adds unnecessary complexity (it's used dozens of places) and questionable value. While the shorter url (a topic as a query parameter but without the corresponding forum / forum group parameters as context) perhaps makes the page smaller, it duplicates many URLs that a crawler sees and potentially erodes SEO.

Proposing to remove this option and always generating consistent longer contextual URLs.

Incoming shorter URLs would continue to work but might add 301 redirects to the longer URLs?

## What general area(s)/component(s) are affected?
** check any / all **
[] User interface
[] Database schema
[X] Business Logic
[] Dependencies
[] Installation/manifest

## Additional context
Add any other context or screenshots about the task here.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.