/conduct permalink redirect to /guidelines failing internally

AI-generated summary

A user, wolftune, is experiencing issues with internal redirects from the /conduct permalink to /guidelines. They prefer using the term “conduct” as it aligns with their “Code of Conduct” page and want to avoid confusion with their “extra healthy discussion guidelines” topic. pfaffman confirms that permalinks don’t work internally and suggests creating a plugin as a possible solution. However, codinghorror proposes adding a synonym for /conduct, which neil agrees to, and a commit has been made to implement this solution.

Continuing the discussion from Permalink normalizations don't work for internal links:

We prefer the term “conduct” as in Code of Conduct, and we added a permalink /conduct to go to /guidelines. That works from external links, but not internally. There’s no way to allow this?

Thing is: We call the page “Code of Conduct” and we have a different topic of “extra healthy discussion guidelines” for the good-advice that isn’t the CoC… and so, telling everyone to remember to use /guidelines when they want to link to the CoC is confusing. We’d like to be able to tell everyone that they can always link to /conduct. But if that fails internally, it’s not so usable…

I would wish that we could rename /guidelines URL or rather (to avoid breaking anything) have permalinks work internally.

As discussed on the linked topic, permalinks don’t work internally.

If you really want to you could create a plugin that would add that link.

We internally added a synonym here for

/rules

so I think it’s maybe OK to add another synonym for

/conduct

if you think that’s OK as well @neil?

Ok sounds fine to me.

https://github.com/discourse/discourse/commit/6774b64aef546bffdd32f4485c12e059bccd2348