Jakec Pakec
Jakec Pakec

Reputation: 51

Exclude level from modx frendly url - modx

I'm wondering, if it's even possible to exclude certain level from Modx Friendly-urls.

I would like to get from this: http://www.example.com/level1/level2/level3

to this: http://www.example.com/level1/level3

I saw looking in Modx System settings and mod_rewrite for .htaccess but couldn't make it work. Did anyone have the same problem?

Thanks

Upvotes: 1

Views: 911

Answers (2)

Jakec Pakec
Jakec Pakec

Reputation: 51

I found a solution:

I have installed Custom URLs extra: http://rtfm.modx.com/display/ADDON/CustomUrls

It works like a charm.

Upvotes: 3

Sean Kimball
Sean Kimball

Reputation: 4494

Your level 2 item is just a folder or landing page with no content? That's why you want to hide it? You can use the Freeze URI setting in the child resources to hide the folder.

Upvotes: 4

Related Questions