M
M
Maxim Timofeev2016-01-21 18:59:28
MODX
Maxim Timofeev, 2016-01-21 18:59:28

Why does an anchor link create a redirect?

Someone else's site on modX. We were asked to create content for one of the pages. I insert an anchor:
<a href="#russ">подробнее</a>
it goes to a page like domen/#russ
if you specify an absolute url like domen/razdel/straniza.html#russ - then everything is ok
What could be the matter?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
I
Igor, 2016-01-22
@webinar

Try it like this.
Should work!

F
freddy, 2016-01-21
@mfred

as far as I remember, modex has it, with this you need to write a relative url for anchors

V
Vladimir Sergeevich, 2016-01-21
@VladimirZhid

MODx has a base href.
htmlbook.ru/html/base
I don’t remember how I solved this problem, but I solved it ... contact if you need more information

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question