A
A
Alexey selftrips.ru2017-03-16 13:06:07
htaccess
Alexey selftrips.ru, 2017-03-16 13:06:07

Replacing http links with https on-the-fly when calling via alias?

There is a site, on it all links have the usual http format
, it must remain http and all links on it remain http
, but there is an alias.
Is it possible that when entering through an alias in all internal links "on the fly" not only the domain from site.ru to alias.ru is replaced, but also the protocol https://alias.ru
i.e. if on the main site on the main page site.ru there is a working link site.ru/about when entering through the alias on the page https://alias.ru there was a link https://alias.ru/about
And so with all internal links to all pages when they are generated on request via an alias.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question