Modify the links that are outside our website and set the target to new tab
Here is the code:
2. Before we start to harm any files in our website, let us do the golden rule first, backup the file.
3. Then we will start adding this block of code before the end of the body tag (</body>) . Replace ‘yourdomainhere’ with your domain :p . Example : my domain is https://www.sherkspear.com so i’ll replace ‘yourdomainhere’ with ‘sherkspear’.
4. Then save the file and update your website.