GetSimple Support Forum
Multilevel permalink structure - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: Developer Discussions (http://get-simple.info/forums/forumdisplay.php?fid=8)
+--- Thread: Multilevel permalink structure (/showthread.php?tid=16962)



Multilevel permalink structure - tuxy - 2023-02-21

Hello,

Will try rebuild dogvalley.be , in GS CE.
The url structure from this website is:
https://dogvalley.be/PROVINCE/PROVINCE-NAME/CITY-NAME/webpage

And has also pages in the root from the website, example: the about-page:
https://dogvalley.be/over-dogvalley-be

Example:
https://dogvalley.be/provincie/vlaams-brabant/boutersem/oude-vijvers

Technically, the content from this website is build in a directory structure, see screenshot.

Now try understanding how rebuild the permalink structure (Fancy Urls) in GS settings, read this article, but, give me not the information i need.

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?


RE: Multilevel permalink structure - mvlcek - 2023-02-21

(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.


RE: Multilevel permalink structure - tuxy - 2023-02-21

(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


RE: Multilevel permalink structure - tuxy - 2023-02-21

(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?


RE: Multilevel permalink structure - mvlcek - 2023-02-21

(2023-02-21, 03:35:43)tuxy Wrote:
(2023-02-21, 02:56:57)tuxy Wrote:
(2023-02-21, 02:26:33)mvlcek Wrote: 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?

You need to use the i18n functions in the template (see http://mvlcek.bplaced.net/get-simple/i18n, installation):
  • get_i18n_breadcrumbs
  • get_i18n_navigation
  • get_i18n_header
  • etc.
Then the generated links should have the whole hierarchy.


RE: Multilevel permalink structure - tuxy - 2023-02-21

(2023-02-21, 03:57:43)mvlcek Wrote:
(2023-02-21, 03:35:43)tuxy Wrote:
(2023-02-21, 02:56:57)tuxy Wrote:
(2023-02-21, 02:26:33)mvlcek Wrote: 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?

You need to use the i18n functions in the template (see http://mvlcek.bplaced.net/get-simple/i18n, installation):
  • get_i18n_breadcrumbs
  • get_i18n_navigation
  • get_i18n_header
  • etc.
Then the generated links should have the whole hierarchy.

YEAH!!! IT WORKS!!! What an awesome plugins Smile

Thanks a lot @mvlcek


RE: Multilevel permalink structure - tuxy - 2023-07-16

(2023-07-14, 19:44:08)barbaracombs Wrote:
(2023-02-21, 00:34:20)tuxy Wrote: Hello,

Will try rebuild dogvalley.be , in GS CE.
The url structure from this website is:
https://dogvalley.be/PROVINCE/PROVINCE-NAME/CITY-NAME/webpage

And has also pages in the root from the website, example: the about-page:
https://dogvalley.be/over-dogvalley-be

Example:
https://dogvalley.be/provincie/vlaams-brabant/boutersem/oude-vijvers

Technically, the content from this website is build in a directory structure, see screenshot.

Now try understanding how rebuild the permalink structure (Fancy Urls) in GS settings, read this article, but, give me not the information i need.

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 drift hunters ) 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?

A well-structured permalink structure may help search engines and visitors in understanding the relationships between pages on your website.

Sadly stopped building this project with GSCE The reason: it get issue's due a lot of complicated page's and the tree-structure.


RE: Multilevel permalink structure - Melyssfrtz77 - 2024-02-28

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?


RE: Multilevel permalink structure - aurafx - 2024-02-28

this is probably an overcomplicated solution to this question
but you can just create a page for each "category" and set page parent for each to create the link structure needed.

example:
Create a page for "province" which will be the parent page
Create a page for "province-name" and set page parent as "province"
Create a page for "city-name" and set page parent as "province-name"
Finally create "location-page" and set page parent as "city-name"

the final link structure would be as follows
province -> province-name -> city-name -> location-page
example: https://aurafx.site/united-kingdom/england/london/lewisham/


RE: Multilevel permalink structure - Oleg06 - 2024-02-29

(2024-02-28, 04:29:53)Melyssfrtz77 Wrote: 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?

%parents%/%slug%
https://getsimplethemes.ru/premium-themes/catalog/newtech/