Skip to:
Content

Opened 6 years ago

Last modified 4 years ago

#2258 new enhancement

Custom (pretty) permalinks for bbPress

Reported by: alexvorn2 Owned by:
Milestone: Future Release Priority: low
Severity: minor Version: 2.2.3
Component: General - Administration Keywords: needs-patch
Cc: gawain.lynch@…, nashwan.doaqan@…

Description

To add option to edit bbPress permalinks.

(To make possible to have descriptive URLs).

Add such structure variables as:
%forumname%,
%forumparentname%,
%forumparentsnames%,
%topicname%,
%replyname%

For topics:

1) pretty url: http://example.com/forum/subforum/custom_topic_title

structure will be: http://example.com/%forumparentsnames%/%topicname%

.

2) for http://example.com/forum1/custom_topic_title

structure will be: http://example.com/%forumparentname%/%topicname%
OR [example.com/%forumname%/%topicname%]

.

3) http://example.com/custom_topic_title

structure will be: http://example.com/%topicname%

.

4) http://example.com/forum1/2013/custom_topic_title

structure will be: http://example.com/%forumname%/%year%/%topicname% ..

etc

Change History (8)

#2 @gawain
6 years ago

  • Cc gawain.lynch@… added

Do you have any proof-of-concept patches for this Alex? I'd be interested in testing/expanding on them (as time permits).

#3 @alexvorn2
6 years ago

This is only the idea...
I imagine this is possible.

#4 @alex-ye
6 years ago

  • Cc nashwan.doaqan@… added

I think we should separate the bbPress permlinks structure from the WordPress , I had experience about that when I change the bbPress permlinks structure to numeric in one of my clients website .

So I think I can help with here :)

Last edited 6 years ago by alex-ye (previous) (diff)

#5 follow-up: @johnjamesjacoby
6 years ago

  • Component changed from General to Administration
  • Keywords needs-patch added
  • Milestone changed from Awaiting Review to Future Release
  • Priority changed from normal to low
  • Severity changed from normal to minor
  • Type changed from defect to enhancement
  • Version changed from 2.1 to 2.2.3

Moving to Future Release, until WordPress's Permalinks page uses the Settings API. I'd rather not add too many settings to our 1 forums page until that's addressed.

#6 in reply to: ↑ 5 @alex-ye
6 years ago

Replying to johnjamesjacoby:

Moving to Future Release, until WordPress's Permalinks page uses the Settings API. I'd rather not add too many settings to our 1 forums page until that's addressed.

Good point :)

#7 @gawain
6 years ago

JJJ, would you entertain fleshing out the functionality in bbPress, but have the settings in a (temporary) plugin until said WP core changes land?

Note: See TracTickets for help on using tickets.