R
R
random_object2019-02-07 16:27:25
MODX
random_object, 2019-02-07 16:27:25

How to implement base href on MODX EVO for all pages?

Hello. Registered in the template of internal pages. All internal pages now link to the main page. How to fix the base href tag in the template so that it links to a specific internal page
Example:
site.ru/price

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Tarasov, 2019-02-07
@an-tar

If I understood you correctly, then like this: I just didn’t understand why. The value of this tag is the same for the entire site and is usually set in the template header, for example, you make a single head / header chunk, the path to the site root is written and used for all templates / pages.
<base href="[(site_url)]" />

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question