Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
in Q2A Core by
Mask all external links to internal, or to hide them. Your own posts, comments pages, authors pages. How i redirect all link my site go to https://surak.szh.kz/go.php

How i add my site example link:

<a href="https://surak.szh.kz/go.php?url=https://google.com">Google</a>

Its nice work, php code:

    if (isset($_GET['url'])){
         header('HTTP/1.1 200 OK');
         header('Location: '.$_GET['url']);

Now how i add search in question, answer and comment text link find and convert link https://surak.szh.kz/go.php?url=

Help please.
Q2A version: 1.7.3

Please log in or register to answer this question.