Answer the question
In order to leave comments, you need to log in
How to set up a redirect in modx so that when you exit a section, the section name is not added to the url again?
Good afternoon everyone. If you go to site.ru/, then go to services-> service1 (or any other), then the url becomes site.ru/uslugi/usluga1.html (logically and correctly), but if you further click on any menu item or go to other services, then the url becomes site.ru/uslugi/uslugi/usluga1.html and of course 404 error. I set the base .htaccess, but it's still the same. CMS modx revo.
Answer the question
In order to leave comments, you need to log in
Check the links in the menu, it should go without a slash at the beginning.
Perhaps adding to head will also help<base href="/">
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question