Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Multilevel permalink structure
#4
(2023-02-21, 02:56:57)tuxy Wrote:
(2023-02-21, 02:26:33)mvlcek Wrote:
(2023-02-21, 00:34:20)tuxy Wrote: Is there a way follow the same structure from the dogvalley.be website? Or is it not possible/efficient build it with GS CMS?
At the moment on a local test-website (build with picocms) i have about 600 dogparcs in the database.

For a default page: %parent%/%slug% (default settings = OK)

For the locations: /province/province-name/city-name/location-page

Someone have experience with multilevel permalink structure?

The I18N plugin allows you 
  • to hierarchically organize the pages
  • to show all parents in the URL with %parents%/%slug%
See http://mvlcek.bplaced.net/get-simple/i18n

Keep in mind that the slugs still have to be unique and that the parents (sent by the user/browser) are not checked when showing a page.

Hi mvlcek,

Okay, thats awesome, i will try it Smile

Hmm, try it but i do something wrong i think.

Adding this to the settings:
%parents%/%slug%/

Thats the hierarchical structure (screenshot)

This is the result:
https://gs.dogvalley.be/aartselaar/de-reukens

It missed the grandparents(s),
normal it would be:
https://gs.dogvalley.be/provincie/antwerpen/aartselaar/de-reukens

or

https://gs.dogvalley.be/provincie/limburg/lommel/kattebos/

So it missed the grandparents in the urls /provincie/antwerpen/.. or /provincie/limburg/..

When adding manual the url, it works. Is there a way showing the grandparents in the url by default? Or would be edit in in the htaccess?
Reply


Messages In This Thread
Multilevel permalink structure - by tuxy - 2023-02-21, 00:34:20
RE: Multilevel permalink structure - by mvlcek - 2023-02-21, 02:26:33
RE: Multilevel permalink structure - by tuxy - 2023-02-21, 02:56:57
RE: Multilevel permalink structure - by tuxy - 2023-02-21, 03:35:43
RE: Multilevel permalink structure - by mvlcek - 2023-02-21, 03:57:43
RE: Multilevel permalink structure - by tuxy - 2023-02-21, 05:14:55
RE: Multilevel permalink structure - by Oleg06 - 2024-02-29, 16:17:57
RE: Multilevel permalink structure - by aurafx - 2024-02-28, 06:31:01



Users browsing this thread: 1 Guest(s)