© Copyright THE KENLEY KONNECTION INC.

How it works Internal links like: /about https://kenleykonnection.com/page https://www.kenleykonnection.com/page ? open in the same window External links like: https://content.onlineagency.com/... https://google.com ? automatically get target="_blank" and open in a new tab Why this version is better It uses the actual browser hostname, so it automatically handles: kenleykonnection.com www.kenleykonnection.com any future subdomains without needing to hard-code them. If you'd like, I can also give you a slightly more advanced version that: ignores mailto: and tel: links forces PDF links to always open in a new tab still keeps internal navigation untouched (which is usually the best setup for these older travel CMS sites). pdfs are still opening in the same window Use a separate rule for PDFs before the external-link check. That way, any link ending in .pdf opens in a new tab, even if it is on the same domain.