"Community" and "Board Title" in SEF URL

Started by MiY4Gi, 6 years ago

previous topic - next topic

0 Members and 1 Guest are viewing this topic.

MiY4Gi

*
6 years ago
I'm Currently using PMX 1.5 and enabled SEF. I noticed that when I'm reading a topic, then the URL doesn't show which board I'm in. Is it possible to include the forum board's title in the URL? Although this would make the URL longer, I believe that it would be useful since then the URL would include more information about the webpage.

E.g. mysite.tld/1/welcome-to-smf/    >>>   mysite.tld/general-discussion/1/welcome-to-smf/

It would also be convenient since it would allow a user to move up the forum linktree by simply removing the last bit from the URL.

E.g. mysite.tld/general-discussion/1/welcome-to-smf/   >>>   mysite.tld/general-discussion/1/welcome-to-smf/   >>>   mysite.tld/general-discussion/

I would also like to include "Community" or "forum" in the URL, so that the user will know that the link refers to a post in a forum.

E.g. mysite.tld/general-discussion/1/welcome-to-smf/   >>>   mysite.tld/forum/general-discussion/1/welcome-to-smf/

Is this possible, or will it require too much code changes?

Also, is the number "1" really necessary in the URL?
Check out my new anime club. Discuss and share anime, or just fool around with other forumites. Join us at MyAnimeClub.

Feline

*
#1
6 years ago
Quote from: MiY4Gi, 6 years ago
Is this possible, or will it require too much code changes?

That is not possible until you write your own SEF engine ...

Quote from: MiY4Gi
Also, is the number "1" really necessary in the URL?

Yes .. that is the topic id..
Many are stubborn in relation to the way, but less in relation to the target.

MiY4Gi

*
#2
6 years ago
Ah well, I guess it's not so bad with the current URL's.

QuoteThat is not possible until you write your own SEF engine ...


Not sure what you mean by that. I don't know the first thing about writing mods, nor do I even know what the SEF "engine" is. Would doing this be complicated?
Check out my new anime club. Discuss and share anime, or just fool around with other forumites. Join us at MyAnimeClub.

* Shouts

Feline
5 months ago
Today we update our Forum to the Version 1.45
Feline
8 months ago
Today we update our Forum to Version 1.4
This release is full compatible with the EU GDPR
Feline
10 months ago
Update for PortaMx 1.54 ecl released.
With this updates the Portal works with PHP 7.x and SMF 2.0.15
Feline
10 months ago
PortaMx Forum 1.3
released !

*
Feline
a year ago
Today we switched to PHP 7.2 and activate Opcode caching.
Fast .. Very fast *
Feline
a year ago
Today we upgrade our old SMF 2.0 Forum to PortaMx Forum *

* Calendar

Su
Mo
Tu
We
Th
Fr
Sa
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28