S
S
sadieff2017-08-03 17:20:11
MODX
sadieff, 2017-08-03 17:20:11

How to configure site_url so that the protocol is specified only through a double slash //?

Good day, developers! MODX has a template variable http://askmeplz.com/, which displays an address with a protocol: either https://site.ru or site.ru. Tell me how and where to set up the output so that the address is displayed through two slashes: //site.ru.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
display: block, 2017-08-03
@sadieff

//askmeplz.com
And it's better to put it in a new parameter in the config.

R
Ruslan, 2017-08-03
@ruslan_aleev

Hello, you can use an I / O filter, in your case it will be like this:
http://askmeplz.com/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question